cubecl_hip_sys

Function hipTexObjectCreate

Source
pub unsafe extern "C" fn hipTexObjectCreate(
    pTexObject: *mut hipTextureObject_t,
    pResDesc: *const HIP_RESOURCE_DESC,
    pTexDesc: *const HIP_TEXTURE_DESC,
    pResViewDesc: *const HIP_RESOURCE_VIEW_DESC,
) -> hipError_t
Expand description

@brief Creates a texture object.

@param [out] pTexObject pointer to texture object to create @param [in] pResDesc pointer to resource descriptor @param [in] pTexDesc pointer to texture descriptor @param [in] pResViewDesc pointer to resource view descriptor

@returns #hipSuccess, #hipErrorInvalidValue