cubecl_hip_sys

Function hipDeviceComputeCapability

Source
pub unsafe extern "C" fn hipDeviceComputeCapability(
    major: *mut c_int,
    minor: *mut c_int,
    device: hipDevice_t,
) -> hipError_t
Expand description

@brief Returns the compute capability of the device @param [out] major Major compute capability version number @param [out] minor Minor compute capability version number @param [in] device Device ordinal

@returns #hipSuccess, #hipErrorInvalidDevice