大网数据广告活动
Hyper-V与虚拟化

Msvm_PartitionableGpu class

· 52CE 我爱测

Represents a partitionable GPU. Each GPU can be sliced into a number of GPU partitions, which can be assigned to a virtual machine as a vGPU.

Represents a partitionable GPU. Each GPU can be sliced into a number of GPU partitions, which can be assigned to a virtual machine as a vGPU.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_PartitionableGpu : CIM_ComputerSystem
{
  uint16 ValidPartitionCounts[];
  uint16 PartitionCount;
  uint64 TotalVRAM;
  uint64 AvailableVRAM;
  uint64 MinPartitionVRAM;
  uint64 MaxPartitionVRAM;
  uint64 OptimalPartitionVRAM;
  uint64 TotalEncode;
  uint64 AvailableEncode;
  uint64 MinPartitionEncode;
  uint64 MaxPartitionEncode;
  uint64 OptimalPartitionEncode;
  uint64 TotalDecode;
  uint64 AvailableDecode;
  uint64 MinPartitionDecode;
  uint64 MaxPartitionDecode;
  uint64 OptimalPartitionDecode;
  uint64 TotalCompute;
  uint64 AvailableCompute;
  uint64 MinPartitionCompute;
  uint64 MaxPartitionCompute;
  uint64 OptimalPartitionCompute;
};

Members

The Msvm_PartitionableGpu class has these types of members:

Properties

The Msvm_PartitionableGpu class has these properties.

AvailableCompute

Data type: uint64

Access type: Read-only

The available amount of compute engines which will appear in the GPU partition.

AvailableDecode

Data type: uint64

Access type: Read-only

The available amount of decode engines which will appear in the GPU partition.

AvailableEncode

Data type: uint64

Access type: Read-only

The available amount of encode engines which will appear in the GPU partition.

AvailableVRAM

Data type: uint64

Access type: Read-only

The available amount of VRAM which will appear in the GPU partition.

MaxPartitionCompute

Data type: uint64

Access type: Read-only

The maximum amount of compute engines which will appear in the GPU partition.

MaxPartitionDecode

Data type: uint64

Access type: Read-only

The maximum amount of decode engines which will appear in the GPU partition.

MaxPartitionEncode

Data type: uint64

Access type: Read-only

The maximum amount of encode engines which will appear in the GPU partition.

MaxPartitionVRAM

Data type: uint64

Access type: Read-only

The maximum amount of VRAM which will appear in the GPU partition.

MinPartitionCompute

Data type: uint64

Access type: Read-only

The minumum amount of compute engines which will appear in the GPU partition.

MinPartitionDecode

Data type: uint64

Access type: Read-only

The minimum amount of decode engines which will appear in the GPU partition.

MinPartitionEncode

Data type: uint64

Access type: Read-only

The minumum amount of encode engines which will appear in the GPU partition.

MinPartitionVRAM

Data type: uint64

Access type: Read-only

The minimum amount of VRAM which will appear in the GPU partition.

OptimalPartitionCompute

Data type: uint64

Access type: Read-only

The optimal amount of compute engines which will appear in the GPU partition.

OptimalPartitionDecode

Data type: uint64

Access type: Read-only

The optimal amount of decode engines which will appear in the GPU partition.

OptimalPartitionEncode

Data type: uint64

Access type: Read-only

The optimal amount of encode engines which will appear in the GPU partition.

OptimalPartitionVRAM

Data type: uint64

Access type: Read-only

The optimal amount of VRAM which will appear in the GPU partition.

PartitionCount

Data type: uint16

Access type: Read/write

The amount of GPU partitions the physical GPU is sliced into.

TotalCompute

Data type: uint64

Access type: Read-only

The total amount of compute engines which will appear in the GPU partition.

TotalDecode

Data type: uint64

Access type: Read-only

The total amount of decode engines which will appear in the GPU partition.

TotalEncode

Data type: uint64

Access type: Read-only

The total amount of encode engines which will appear in the GPU partition.

TotalVRAM

Data type: uint64

Access type: Read-only

The total amount of VRAM which will appear in the GPU partition.

ValidPartitionCounts

Data type: uint16 array

Access type: Read/write

An array of valid GPU partition options the physical GPU can be sliced into.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703 [desktop apps only]
Minimum supported server Windows Server 2016
Namespace Root\virtualization\v2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

See also

CIM_ComputerSystem

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。