summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-01-09 21:37:06 +0100
committerpsychocrypt <psychocryptHPC@gmail.com>2018-01-09 21:37:06 +0100
commiteb4967b5bff3a909796e1783f18e579639becde7 (patch)
tree1ae4e3309966385902a501f96608a1cad2a7c44a /xmrstak/backend/amd
parent8d06753e462a7aa2185c38cc88be66185eb664f0 (diff)
downloadxmr-stak-eb4967b5bff3a909796e1783f18e579639becde7.zip
xmr-stak-eb4967b5bff3a909796e1783f18e579639becde7.tar.gz
update VEGA names for auto suggestion
update VEGA names
Diffstat (limited to 'xmrstak/backend/amd')
-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