(2.5.2) Fix manual Turing GPU; work around hand size upgrade error

This commit is contained in:
nastys
2021-09-04 20:34:52 +02:00
parent 1f57bdaf24
commit eb17a30a06
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ namespace GPUModel
{
// detected model can be overridden -- 0: Kepler, 1: Maxwell, 2: Turing, 3: Ampere
int nGPUModel = GetPrivateProfileIntW(L"gpu", L"model", -1, CONFIG_FILE);
if (nGPUModel >= 0 && nGPUModel <= 2)
if (nGPUModel >= 0 && nGPUModel <= 3)
{
std::string arch;
switch (nGPUModel)