diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-02-21 21:31:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-21 21:31:20 +0000 |
commit | cba86718e05384aa7bc4e4b916cf3b3c942b126a (patch) | |
tree | f08c352ae4261825dca47635c88b8e4a08d67bb7 /xmrstak/backend/amd/autoAdjust.hpp | |
parent | f785481bb7c1fb887a65a0b19c3e453904bb5474 (diff) | |
parent | cff6b6cbfbb3da44d85753885466de5122e20472 (diff) | |
download | xmr-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.hpp | 3 |
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 |