summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-11-10 20:41:31 +0100
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-11-15 16:21:34 +0100
commit350158a66826a62aaa41e326453980add1bb860b (patch)
treea2f591256972bedc1b919a9cadc49cd8855443a7
parent22039b2a8755e73fb812e6fa34b75d5665ab10de (diff)
downloadxmr-stak-350158a66826a62aaa41e326453980add1bb860b.zip
xmr-stak-350158a66826a62aaa41e326453980add1bb860b.tar.gz
AMD: increase memory pool
Documentation: Add environment variables to increase OpenCL memory pool
-rw-r--r--doc/tuning.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/tuning.md b/doc/tuning.md
index 6459235..474553b 100644
--- a/doc/tuning.md
+++ b/doc/tuning.md
@@ -7,6 +7,7 @@
* [AMD Backend](#amd-backend)
* [Choose `intensity` and `worksize`](#choose-intensity-and-worksize)
* [Add more GPUs](#add-more-gpus)
+ * [Increase Memory Pool](#increase-memory-pool)
## NVIDIA Backend
@@ -66,3 +67,17 @@ If you are unsure of either GPU or platform index value, you can use `clinfo` to
"platform_index" : 0,
```
+
+### Increase Memory Pool
+
+By setting the following environment variables before the miner is started OpenCl allows the miner to more threads.
+This variables must be set each time before the miner is started else it could be that the miner can not allocate enough memory and is crashing.
+
+```
+export GPU_FORCE_64BIT_PTR=1
+export GPU_MAX_HEAP_SIZE=99
+export GPU_MAX_ALLOC_PERCENT=99
+export GPU_SINGLE_ALLOC_PERCENT=99
+```
+
+*Note:* Windows user must use `set` instead of `export` to define an environment variable. \ No newline at end of file
OpenPOWER on IntegriCloud