cubecl_hip_sys

Function hipTexRefGetAddressMode

Source
pub unsafe extern "C" fn hipTexRefGetAddressMode(
    pam: *mut hipTextureAddressMode,
    texRef: *const textureReference,
    dim: c_int,
) -> hipError_t
Expand description

@brief Gets the address mode for a texture reference.

@param [out] pam Pointer of address mode. @param [in] texRef Pointer of texture reference. @param [in] dim Dimension.

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported

@warning This API is deprecated.