summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/autoAdjust.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-12-03 14:55:04 +0100
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-12-03 14:55:04 +0100
commitcfe64725f063b63eafbeeef7e57cad7448cb3d15 (patch)
treedc5cd5b9f4bd1cb98e51e163b85e78cfad4edc67 /xmrstak/backend/amd/autoAdjust.hpp
parentd10d20f1132a3c5d6dc51ed22a0381e460b579e8 (diff)
downloadxmr-stak-cfe64725f063b63eafbeeef7e57cad7448cb3d15.zip
xmr-stak-cfe64725f063b63eafbeeef7e57cad7448cb3d15.tar.gz
set `srided_index = true` as default
Change the default for strided index. Th euser feedback shows that strided_index = true will give a view hashes more per second.
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 0abf84e..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, \"strided_index\" : false\n"
+ " \"affine_to_cpu\" : false, \"strided_index\" : true\n"
" },\n";
++i;
}
OpenPOWER on IntegriCloud