Merge pull request #13 from psychocrypt/fix-amdAutoDetection

fix amd auto suggestion
This commit is contained in:
fireice-uk
2017-10-05 11:39:10 +01:00
committed by GitHub
+5 -3
View File
@@ -52,14 +52,16 @@ public:
return false;
}
devVec = getAMDDevices(0);
devVec = getAMDDevices(platformIndex);
int deviceCount = devVec.size();
if(deviceCount == 0)
return false;
{
printer::inst()->print_msg(L0,"WARNING: No AMD device found.");
return false;
}
generateThreadConfig(platformIndex);
return true;