cuda.bindings.nvml.device_get_host_vgpu_mode#
- cuda.bindings.nvml.device_get_host_vgpu_mode(intptr_t device) int#
Queries if SR-IOV host operation is supported on a vGPU supported device.
Checks whether SR-IOV host capability is supported by the device and the driver, and indicates device is in SR-IOV mode if both of these conditions are true.
- Parameters:
device (intptr_t) – The identifier of the target device.
- Returns:
Reference in which to return the current vGPU mode.
- Return type:
See also
nvmlDeviceGetHostVgpuMode