From 28be4125f88cc349ccbc7e696b1e74522cd057a9 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Sat, 24 Aug 2019 21:27:45 +0200 Subject: [PATCH] AMD: optimize fiji and radeon VII auto config cn-gpu solve #2510 and #2505 set worksize to 16 instead of 8 --- xmrstak/backend/amd/autoAdjust.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmrstak/backend/amd/autoAdjust.hpp b/xmrstak/backend/amd/autoAdjust.hpp index 858c03844..f27ecfe02 100644 --- a/xmrstak/backend/amd/autoAdjust.hpp +++ b/xmrstak/backend/amd/autoAdjust.hpp @@ -138,7 +138,10 @@ class autoAdjust // UNKNOWN ctx.name.compare("gfx900") == 0 || ctx.name.compare("gfx903") == 0 || - ctx.name.compare("gfx905") == 0) + ctx.name.compare("gfx905") == 0 || + // Radeon VII + ctx.name.compare("gfx906") == 0 || + ctx.name.compare("Fiji") == 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