cuda.bindings._v2.driver.device_get_name#
- cuda.bindings._v2.driver.device_get_name(int len, int dev) bytes#
Returns an identifier string for the device.
Returns an ASCII string identifying the device
devin the NULL-terminated string pointed to byname.lengthspecifies the maximum length of the string that may be returned.nameis shortened to the specifiedlength, iflengthis less than the device name.- Parameters:
- Returns:
Returned identifier string for the device.
- Return type:
See also
cuDeviceGetName