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. :param device: Identifier of the target device. :type device: intptr_t :returns: Reference to virtualization mode. One of ``NVML_GPU_VIRTUALIZATION_?``. :rtype: int .. seealso:: `nvmlDeviceGetVirtualizationMode`