cubecl_hip_sys

Function hipTexRefSetAddressMode

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

@brief Sets address mode for a texture reference.

@param [in] texRef texture reference. @param [in] dim Dimension of the texture. @param [in] am Value of the texture address mode.

@returns #hipSuccess, #hipErrorInvalidValue @warning This API is deprecated.