pub unsafe extern "C" fn M_getDeviceLabel(
device: *const M_Device,
) -> *const c_charExpand description
Gets the label of a device (e.g., “cpu” or “gpu”).
@param device The device.
@returns A string containing the device label. The returned string is owned
by the device and should not be freed. Returns NULL if the device is
invalid.