cubecl_hip_sys

Function hipBindTextureToArray

Source
pub unsafe extern "C" fn hipBindTextureToArray(
    tex: *const textureReference,
    array: hipArray_const_t,
    desc: *const hipChannelFormatDesc,
) -> hipError_t
Expand description

@brief Binds a memory area to a texture.

@param [in] tex Pointer of texture reference. @param [in] array Array to bind. @param [in] desc Pointer of channel format descriptor.

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported

@warning This API is deprecated.