cubecl_hip_sys

Function hipTexRefSetAddress

Source
pub unsafe extern "C" fn hipTexRefSetAddress(
    ByteOffset: *mut usize,
    texRef: *mut textureReference,
    dptr: hipDeviceptr_t,
    bytes: usize,
) -> hipError_t
Expand description

@brief Sets an bound address for a texture reference.

@param [out] ByteOffset Pointer of the offset in bytes. @param [in] texRef Pointer of texture reference. @param [in] dptr Pointer of device address to bind. @param [in] bytes Size in bytes.

@returns #hipSuccess, #hipErrorInvalidValue

@warning This API is deprecated.