cubecl_hip_sys

Function hipTexRefSetMipmappedArray

Source
pub unsafe extern "C" fn hipTexRefSetMipmappedArray(
    texRef: *mut textureReference,
    mipmappedArray: *mut hipMipmappedArray,
    Flags: c_uint,
) -> hipError_t
Expand description

@brief Binds mipmapped array to a texture reference.

@param [in] texRef Pointer of texture reference to bind. @param [in] mipmappedArray Pointer of mipmapped array to bind. @param [in] Flags Flags should be set as HIP_TRSA_OVERRIDE_FORMAT, as a valid value.

@returns #hipSuccess, #hipErrorInvalidValue

@warning This API is deprecated.