cubecl_hip_sys

Function hipGetTextureReference

Source
pub unsafe extern "C" fn hipGetTextureReference(
    texref: *mut *const textureReference,
    symbol: *const c_void,
) -> hipError_t
Expand description

@brief Gets the texture reference related with the symbol.

@param [out] texref texture reference @param [in] symbol pointer to the symbol related with the texture for the reference

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