Function hip_runtime_sys::hipModuleGetTexRef
source · pub unsafe extern "C" fn hipModuleGetTexRef(
texRef: *mut *mut textureReference,
hmod: hipModule_t,
name: *const c_char
) -> hipError_tExpand description
@brief returns the handle of the texture reference with the name from the module.
@param [in] hmod @param [in] name @param [out] texRef
@returns hipSuccess, hipErrorNotInitialized, hipErrorNotFound, hipErrorInvalidValue