remove AMD for enabling gpu scheduling
This commit is contained in:
@@ -21,7 +21,7 @@ If ( $HardwareGPUSchedulingEnabled -eq $false ) {
|
|||||||
$GPUs = (Get-WmiObject Win32_VideoController).Name
|
$GPUs = (Get-WmiObject Win32_VideoController).Name
|
||||||
$FoundDiscreteGPU = $false
|
$FoundDiscreteGPU = $false
|
||||||
ForEach ( $gpu in $GPUs ) {
|
ForEach ( $gpu in $GPUs ) {
|
||||||
If ( ($gpu -ilike "*NVIDIA*") -or ($gpu -ilike "*AMD*") ) {
|
If ( $gpu -ilike "*NVIDIA*" ) {
|
||||||
$FoundDiscreteGPU = $true
|
$FoundDiscreteGPU = $true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user