cuda.bindings.nvml.device_get_virtualization_mode#
- cuda.bindings.nvml.device_get_virtualization_mode(intptr_t device) int#
This method is used to get the virtualization mode corresponding to the GPU.
- Parameters:
device (intptr_t) – Identifier of the target device.
- Returns:
Reference to virtualization mode. One of
NVML_GPU_VIRTUALIZATION_?.- Return type:
See also
nvmlDeviceGetVirtualizationMode