summaryrefslogtreecommitdiffstats
path: root/xmrstak/params.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-03-27 22:06:32 +0200
committerpsychocrypt <psychocryptHPC@gmail.com>2018-03-28 21:42:36 +0200
commitaad565391ed64dbcea47c14d8a288ea64b810f96 (patch)
tree8fd50bd1e9883dbf8ce05f9dbcb9a2ff3f8536a0 /xmrstak/params.hpp
parent38c0955aad49587113146ac5f898024695c4dc9a (diff)
downloadxmr-stak-aad565391ed64dbcea47c14d8a288ea64b810f96.zip
xmr-stak-aad565391ed64dbcea47c14d8a288ea64b810f96.tar.gz
add cli option `--noAMDCache`
allow to disable the OpenCl cache - usefull for read only systems - usefull for unknown errors during cache reading
Diffstat (limited to 'xmrstak/params.hpp')
-rw-r--r--xmrstak/params.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmrstak/params.hpp b/xmrstak/params.hpp
index 6928df5..3d584b9 100644
--- a/xmrstak/params.hpp
+++ b/xmrstak/params.hpp
@@ -21,6 +21,7 @@ struct params
std::string executablePrefix;
std::string binaryName;
bool useAMD;
+ bool AMDCache;
bool useNVIDIA;
bool useCPU;
@@ -56,6 +57,7 @@ struct params
binaryName("xmr-stak"),
executablePrefix(""),
useAMD(true),
+ AMDCache(true),
useNVIDIA(true),
useCPU(true),
configFile("config.txt"),
OpenPOWER on IntegriCloud