This commit is contained in:
Serge
2024-01-17 17:42:42 +01:00
parent 99dfcbb95c
commit db3804414e
2 changed files with 3 additions and 1 deletions

View File

@@ -152,6 +152,8 @@ public class NvidiaGpuControl : IGpuControl
int _clockLimit = GetMaxGPUCLock();
if (_clockLimit < 0 && clock == 0) return 0;
if (_clockLimit != clock)
{
if (clock > 0) RunPowershellCommand($"nvidia-smi -lgc 0,{clock}");