cubecl_hip_sys

Function hipDeviceGetName

Source
pub unsafe extern "C" fn hipDeviceGetName(
    name: *mut c_char,
    len: c_int,
    device: hipDevice_t,
) -> hipError_t
Expand description

@brief Returns an identifer string for the device. @param [out] name String of the device name @param [in] len Maximum length of string to store in device name @param [in] device Device ordinal

@returns #hipSuccess, #hipErrorInvalidDevice