cubecl_hip_sys

Function hipDeviceTotalMem

Source
pub unsafe extern "C" fn hipDeviceTotalMem(
    bytes: *mut usize,
    device: hipDevice_t,
) -> hipError_t
Expand description

@brief Returns the total amount of memory on the device. @param [out] bytes The size of memory in bytes, on the device @param [in] device The ordinal of the device

@returns #hipSuccess, #hipErrorInvalidDevice