diff --git a/tools/ca3-v4-amend/pc1-ember-card.ps1 b/tools/ca3-v4-amend/pc1-ember-card.ps1 index c1cf4e80a..6a6cd7a39 100644 --- a/tools/ca3-v4-amend/pc1-ember-card.ps1 +++ b/tools/ca3-v4-amend/pc1-ember-card.ps1 @@ -68,6 +68,8 @@ foreach ($c in $order) { } # the climb switch back to what it was Post 'api/tune/goal' ('{"climb":' + $(if ($climbBefore) { 'true' } else { 'false' }) + '}') | Out-Null +# a card the app cannot steer (AMD in 0.3.20: no power limit, no clock cap) logs no progress lines and stores one baseline row; the stored curve is the count, not the log +if ($rows -eq 0) { $st2 = State; if ($st2) { foreach ($c2 in $cards) { $cc2 = $st2.mining.cards | Where-Object { $_.key -eq $c2.key } | Select-Object -First 1; if ($cc2 -and $cc2.tune_curve) { $rows += $cc2.tune_curve.Count } } } } Write-Output ('RESULT TUNE climb_restored=' + $climbBefore + ' rows=' + $rows) $smi = Join-Path $env:ProgramFiles 'NVIDIA Corporation\NVSMI\nvidia-smi.exe' if (-not (Test-Path $smi)) { $smi = Join-Path $env:SystemRoot 'System32\nvidia-smi.exe' }