cubecl_hip_sys

Function hipBindTexture

Source
pub unsafe extern "C" fn hipBindTexture(
    offset: *mut usize,
    tex: *const textureReference,
    devPtr: *const c_void,
    desc: *const hipChannelFormatDesc,
    size: usize,
) -> hipError_t
Expand description

@brief Binds a memory area to a texture.

@param [in] offset Offset in bytes. @param [in] tex Texture to bind. @param [in] devPtr Pointer of memory on the device. @param [in] desc Pointer of channel format descriptor. @param [in] size Size of memory in bites.

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported

@warning This API is deprecated.