summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/autoAdjust.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-02-17 20:51:55 +0100
committerpsychocrypt <psychocryptHPC@gmail.com>2018-02-17 20:51:55 +0100
commit737185ee82bae05953680b1f4c4cdf8646c51b5a (patch)
treec9af561f9e47488f7e0bc6a79e7a0f15ad991500 /xmrstak/backend/amd/autoAdjust.hpp
parent29bac54912faa1090f34f3fb5e23cb018f2c36e1 (diff)
downloadxmr-stak-737185ee82bae05953680b1f4c4cdf8646c51b5a.zip
xmr-stak-737185ee82bae05953680b1f4c4cdf8646c51b5a.tar.gz
AMD: `mem_chunk`and new `strided_index`
- add new option for `strided_index` - add additional option if `strided_index == 2` to controll the memory chunk with
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 afedb5c..b88d3ee 100644
--- a/xmrstak/backend/amd/autoAdjust.hpp
+++ b/xmrstak/backend/amd/autoAdjust.hpp
@@ -143,7 +143,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\" : true\n"
+ " \"affine_to_cpu\" : false, \"strided_index\" : 1, \"mem_chunk\" : 4\n"
" },\n";
}
else
OpenPOWER on IntegriCloud