cuda.bindings.nvml.device_get_name#

cuda.bindings.nvml.device_get_name(intptr_t device) str#

Retrieves the name of this device.

For all products. The name is an alphanumeric string that denotes a particular product, e.g. Tesla ™️ C2070. It will not exceed 96 characters in length (including the NULL terminator). See nvmlConstants::NVML_DEVICE_NAME_V2_BUFFER_SIZE. When used with MIG device handles the API returns MIG device names which can be used to identify devices based on their attributes.

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

Reference in which to return the product name.

Return type:

char

See also

nvmlDeviceGetName