summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2018-01-12 13:42:44 +0000
committerGitHub <noreply@github.com>2018-01-12 13:42:44 +0000
commit2c1b5295a9601531f7eba977e0348735800690da (patch)
tree8903f40433326320f149f8507cd96c07a0c00d3b /xmrstak/backend
parent3a31266cf3f9d47c2e736bf4363658a97c123f33 (diff)
parenteb4967b5bff3a909796e1783f18e579639becde7 (diff)
downloadxmr-stak-2c1b5295a9601531f7eba977e0348735800690da.zip
xmr-stak-2c1b5295a9601531f7eba977e0348735800690da.tar.gz
Merge pull request #848 from psychocrypt/topic-updateVEGANames
update VEGA names for auto suggestion
Diffstat (limited to 'xmrstak/backend')
-rw-r--r--xmrstak/backend/amd/autoAdjust.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/xmrstak/backend/amd/autoAdjust.hpp b/xmrstak/backend/amd/autoAdjust.hpp
index 0bc5239..511a712 100644
--- a/xmrstak/backend/amd/autoAdjust.hpp
+++ b/xmrstak/backend/amd/autoAdjust.hpp
@@ -101,7 +101,16 @@ private:
* sowing down the memory performance because of TLB cache misses
*/
size_t maxThreads = 1000u;
- if(ctx.name.compare("gfx901") == 0)
+ if(
+ ctx.name.compare("gfx901") == 0 ||
+ ctx.name.compare("gfx904") == 0 ||
+ // APU
+ ctx.name.compare("gfx902") == 0 ||
+ // UNKNOWN
+ ctx.name.compare("gfx900") == 0 ||
+ ctx.name.compare("gfx903") == 0 ||
+ ctx.name.compare("gfx905") == 0
+ )
{
/* Increase the number of threads for AMD VEGA gpus.
* Limit the number of threads based on the issue: https://github.com/fireice-uk/xmr-stak/issues/5#issuecomment-339425089
OpenPOWER on IntegriCloud