pub unsafe extern "C" fn hipTexRefSetArray(
tex: *mut textureReference,
array: hipArray_const_t,
flags: c_uint,
) -> hipError_t
Expand description
@brief Binds an array as a texture reference.
@param [in] tex Pointer texture reference. @param [in] array 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.