cuda.bindings.nvml.device_get_attributes_v2#

cuda.bindings.nvml.device_get_attributes_v2(intptr_t device)#

Get attributes (engine counts etc.) for the given NVML device handle.

For Ampere ™️ or newer fully supported devices. Supported on Linux only.

Parameters:

device (intptr_t) – NVML device handle.

Returns:

Device attributes.

Return type:

nvmlDeviceAttributes_t

Note

This API currently only supports MIG device handles.

See also

nvmlDeviceGetAttributes_v2