cubecl_hip_sys

Function hipArrayGetInfo

Source
pub unsafe extern "C" fn hipArrayGetInfo(
    desc: *mut hipChannelFormatDesc,
    extent: *mut hipExtent,
    flags: *mut c_uint,
    array: hipArray_t,
) -> hipError_t
Expand description

@brief Gets info about the specified array

@param[out] desc - Returned array type @param[out] extent - Returned array shape. 2D arrays will have depth of zero @param[out] flags - Returned array flags @param[in] array - The HIP array to get info for

@return #hipSuccess, #hipErrorInvalidValue #hipErrorInvalidHandle

@see hipArrayGetDescriptor, hipArray3DGetDescriptor