cuda.bindings.nvml.device_get_vgpu_capabilities#
- cuda.bindings.nvml.device_get_vgpu_capabilities(
- intptr_t device,
- int capability,
Retrieve the requested vGPU capability for GPU.
Refer to the
nvmlDeviceVgpuCapability_tstructure for the specific capabilities that can be queried. The return value incap_resultreports a non-zero value indicating that the capability is supported, and also reports the capability’s data based on the queried capability. For Maxwell ™️ or newer fully supported devices.- Parameters:
device (intptr_t) – The identifier of the target device.
capability (DeviceVgpuCapability) – Specifies the
nvmlDeviceVgpuCapability_tto be queried.
- Returns:
- Specifies that the queried capability is supported,
and also returns capability’s data.
- Return type:
unsigned int
See also
nvmlDeviceGetVgpuCapabilities