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
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.
