cubecl_hip_sys

Function hipTexRefGetArray

Source
pub unsafe extern "C" fn hipTexRefGetArray(
    pArray: *mut hipArray_t,
    texRef: *const textureReference,
) -> hipError_t
Expand description

@brief Gets the array bound to a texture reference.

@param [in] pArray Returned array. @param [in] texRef texture reference.

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