summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/autoAdjust.hpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-12-04 15:47:31 +0000
committerGitHub <noreply@github.com>2017-12-04 15:47:31 +0000
commita78b62d19756865879c54eac00c1c3f4d983d3a1 (patch)
treedc5cd5b9f4bd1cb98e51e163b85e78cfad4edc67 /xmrstak/backend/amd/autoAdjust.hpp
parent9c6bb11026de14c1a8d9eaecf5e70517d7a903e5 (diff)
parentcfe64725f063b63eafbeeef7e57cad7448cb3d15 (diff)
downloadxmr-stak-a78b62d19756865879c54eac00c1c3f4d983d3a1.zip
xmr-stak-a78b62d19756865879c54eac00c1c3f4d983d3a1.tar.gz
Merge pull request #315 from psychocrypt/topic-amdScratchpadIndexing
add AMD scratchpad indexing option
Diffstat (limited to 'xmrstak/backend/amd/autoAdjust.hpp')
-rw-r--r--xmrstak/backend/amd/autoAdjust.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/amd/autoAdjust.hpp b/xmrstak/backend/amd/autoAdjust.hpp
index 0b91212..0bc5239 100644
--- a/xmrstak/backend/amd/autoAdjust.hpp
+++ b/xmrstak/backend/amd/autoAdjust.hpp
@@ -123,7 +123,7 @@ 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, \n"
+ " \"affine_to_cpu\" : false, \"strided_index\" : true\n"
" },\n";
++i;
}
OpenPOWER on IntegriCloud