cubecl_hip_sys

Function hipGetChannelDesc

Source
pub unsafe extern "C" fn hipGetChannelDesc(
    desc: *mut hipChannelFormatDesc,
    array: hipArray_const_t,
) -> hipError_t
Expand description

@brief Gets the channel descriptor in an array.

@param [in] desc pointer to channel format descriptor @param [out] array memory array on the device

@returns #hipSuccess, #hipErrorInvalidValue