Skip to content

Commit

Permalink
Merge pull request #13 from psychocrypt/fix-amdAutoDetection
Browse files Browse the repository at this point in the history
fix amd auto suggestion
  • Loading branch information
fireice-uk committed Oct 5, 2017
2 parents 6fa8ed6 + bf07d73 commit 9c3a71e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions xmrstak/backend/amd/autoAdjust.hpp
Expand Up @@ -52,14 +52,16 @@ class autoAdjust
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;
Expand Down

0 comments on commit 9c3a71e

Please sign in to comment.