summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/autoAdjust.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-02-21 22:23:00 +0100
committerpsychocrypt <psychocryptHPC@gmail.com>2018-02-21 22:41:43 +0100
commitdc4e3793454a8ac7ae85704e7997d878c378b0aa (patch)
tree2f2d316f8936770d34d2523fdea3c5ae5f21534c /xmrstak/backend/amd/autoAdjust.hpp
parent0ad614836e53c4bab8bca8ea0088cd41f7d6d574 (diff)
downloadxmr-stak-dc4e3793454a8ac7ae85704e7997d878c378b0aa.zip
xmr-stak-dc4e3793454a8ac7ae85704e7997d878c378b0aa.tar.gz
fix broken memchunk feature
fix double definition of define `MEM_CHUNK`
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 8d60b94..8950105 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\" : 1, \"mem_chunk\" : 4,\n"
+ " \"affine_to_cpu\" : false, \"strided_index\" : 1, \"mem_chunk\" : 2,\n"
" \"comp_mode\" : true\n" +
" },\n";
}
OpenPOWER on IntegriCloud