Description
There is a list of attributes that basically restate what the name of the variable is when explaining it, but there is no info on what the values mean. For example -MaxPartitionDecode
takes UInt64
.
Using Get-VMGpuPartitionAdapter -VMName am-vgpu-03
the output is:
CurrentPartitionVRAM : 1000000000
MinPartitionVRAM : 1000
MaxPartitionVRAM : 1100
OptimalPartitionVRAM : 1000
CurrentPartitionEncode : 1000000000
MinPartitionEncode : 1000
MaxPartitionEncode : 1100
OptimalPartitionEncode : 1000
CurrentPartitionDecode : 1000000000
MinPartitionDecode : 1000
MaxPartitionDecode : 1100
OptimalPartitionDecode : 1000
CurrentPartitionCompute : 0
MinPartitionCompute : 1000
MaxPartitionCompute : 1100
OptimalPartitionCompute : 1000
But with a 24gb GPU, these values don't make sense. So does This is defined by the manufacturer's driver.
mean "these values don't matter and will be overwritten by the driver anyway"?
I think it would be helpful to expand on the description, which just mentions that this sets things, but no notes about why the values wouldn't match expected values.
The 'Set-VMGpuPartitionAdapter' cmdlet assigns a partition of a GPU to a virtual machine. Running the command against a virtual machine assigns a full partition. Additional parameters exist to assign more specific options to a VM.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: cf20deef-f3e5-89f9-7bc5-be643322df94
- Version Independent ID: 449f3adc-0b46-dfb3-40ff-408c9d569700
- Content: Set-VMGpuPartitionAdapter (Hyper-V)
- Content Source: docset/winserver2022-ps/hyper-v/Set-VMGpuPartitionAdapter.md
- Product: w10
- Technology: windows
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend