cubecl_hip_sys

Function hipTexObjectGetResourceDesc

Source
pub unsafe extern "C" fn hipTexObjectGetResourceDesc(
    pResDesc: *mut HIP_RESOURCE_DESC,
    texObject: hipTextureObject_t,
) -> hipError_t
Expand description

@brief Gets resource descriptor of a texture object.

@param [out] pResDesc pointer to resource descriptor @param [in] texObject texture object

@returns #hipSuccess, #hipErrorNotSupported, #hipErrorInvalidValue