Fix Ampere option

This commit is contained in:
nastys
2021-09-02 19:41:17 +02:00
parent f5edeee6b7
commit e5bdc8c98f
+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)