cuda.bindings.nvml.device_set_vgpu_capabilities#

cuda.bindings.nvml.device_set_vgpu_capabilities(
intptr_t device,
int capability,
int state,
)#

Set the desirable vGPU capability of a device.

Refer to the nvmlDeviceVgpuCapability_t structure for the specific capabilities that can be set. See nvmlEnableState_t for available state.

Parameters:
  • device (intptr_t) – The identifier of the target device.

  • capability (DeviceVgpuCapability) – Specifies the nvmlDeviceVgpuCapability_t to be set.

  • state (EnableState) – The target capability mode.

See also

nvmlDeviceSetVgpuCapabilities