cubecl_hip_sys

Function hipModuleGetTexRef

Source
pub unsafe extern "C" fn hipModuleGetTexRef(
    texRef: *mut *mut textureReference,
    hmod: hipModule_t,
    name: *const c_char,
) -> hipError_t
Expand description

@brief returns the handle of the texture reference with the name from the module.

@param [in] hmod Module @param [in] name Pointer of name of texture reference @param [out] texRef Pointer of texture reference

@returns #hipSuccess, #hipErrorNotInitialized, #hipErrorNotFound, #hipErrorInvalidValue