summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/autoAdjust.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-12-01 22:37:35 +0100
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-12-02 21:15:35 +0100
commitd10d20f1132a3c5d6dc51ed22a0381e460b579e8 (patch)
tree12880be38994f39993bfa5e0d6b5c1b4c0312a53 /xmrstak/backend/amd/autoAdjust.hpp
parent2920e9a3227da307b04ee23ecc5c63ecee4a224c (diff)
downloadxmr-stak-d10d20f1132a3c5d6dc51ed22a0381e460b579e8.zip
xmr-stak-d10d20f1132a3c5d6dc51ed22a0381e460b579e8.tar.gz
add AMD scratchpad indexing option
Allow to change the indexing used to address the hash scratchpad memory. - add option `strided_index` for each gpu
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..0abf84e 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\" : false\n"
" },\n";
++i;
}
OpenPOWER on IntegriCloud