summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/autoAdjust.hpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2018-02-21 21:31:20 +0000
committerGitHub <noreply@github.com>2018-02-21 21:31:20 +0000
commitcba86718e05384aa7bc4e4b916cf3b3c942b126a (patch)
treef08c352ae4261825dca47635c88b8e4a08d67bb7 /xmrstak/backend/amd/autoAdjust.hpp
parentf785481bb7c1fb887a65a0b19c3e453904bb5474 (diff)
parentcff6b6cbfbb3da44d85753885466de5122e20472 (diff)
downloadxmr-stak-cba86718e05384aa7bc4e4b916cf3b3c942b126a.zip
xmr-stak-cba86718e05384aa7bc4e4b916cf3b3c942b126a.tar.gz
Merge pull request #613 from psychocrypt/topic-compatibilityModeAmd
add OpenCL compatibility mode
Diffstat (limited to 'xmrstak/backend/amd/autoAdjust.hpp')
-rw-r--r--xmrstak/backend/amd/autoAdjust.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmrstak/backend/amd/autoAdjust.hpp b/xmrstak/backend/amd/autoAdjust.hpp
index b88d3ee..8d60b94 100644
--- a/xmrstak/backend/amd/autoAdjust.hpp
+++ b/xmrstak/backend/amd/autoAdjust.hpp
@@ -143,7 +143,8 @@ private:
// set 8 threads per block (this is a good value for the most gpus)
conf += std::string(" { \"index\" : ") + std::to_string(ctx.deviceIdx) + ",\n" +
" \"intensity\" : " + std::to_string(intensity) + ", \"worksize\" : " + std::to_string(8) + ",\n" +
- " \"affine_to_cpu\" : false, \"strided_index\" : 1, \"mem_chunk\" : 4\n"
+ " \"affine_to_cpu\" : false, \"strided_index\" : 1, \"mem_chunk\" : 4,\n"
+ " \"comp_mode\" : true\n" +
" },\n";
}
else
OpenPOWER on IntegriCloud