cubecl_hip_sys

Function hipBindTextureToMipmappedArray

Source
pub unsafe extern "C" fn hipBindTextureToMipmappedArray(
    tex: *const textureReference,
    mipmappedArray: hipMipmappedArray_const_t,
    desc: *const hipChannelFormatDesc,
) -> hipError_t
Expand description

@brief Binds a mipmapped array to a texture.

@param [in] tex pointer to the texture reference to bind @param [in] mipmappedArray memory mipmapped array on the device @param [in] desc opointer to the channel format

@returns #hipSuccess, #hipErrorInvalidValue