summaryrefslogtreecommitdiffstats
path: root/xmrstak/cli
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2018-03-28 22:18:49 +0100
committerGitHub <noreply@github.com>2018-03-28 22:18:49 +0100
commit89d319a8920ee91f0b8c05000bfc7d155b90bcb0 (patch)
tree8fd50bd1e9883dbf8ce05f9dbcb9a2ff3f8536a0 /xmrstak/cli
parent38c0955aad49587113146ac5f898024695c4dc9a (diff)
parentaad565391ed64dbcea47c14d8a288ea64b810f96 (diff)
downloadxmr-stak-89d319a8920ee91f0b8c05000bfc7d155b90bcb0.zip
xmr-stak-89d319a8920ee91f0b8c05000bfc7d155b90bcb0.tar.gz
Merge pull request #1239 from psychocrypt/topic-opetionDisbleAMDCache
add cli option `--noAMDCache`
Diffstat (limited to 'xmrstak/cli')
-rw-r--r--xmrstak/cli/cli-miner.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp
index 2e84ec5..c425f04 100644
--- a/xmrstak/cli/cli-miner.cpp
+++ b/xmrstak/cli/cli-miner.cpp
@@ -79,6 +79,7 @@ void help()
#endif
#ifndef CONF_NO_OPENCL
cout<<" --noAMD disable the AMD miner backend"<<endl;
+ cout<<" --noAMDCache disable the AMD(OpenCL) cache for precompiled binaries"<<endl;
cout<<" --amd FILE AMD backend miner config file"<<endl;
#endif
#ifndef CONF_NO_CUDA
@@ -449,6 +450,10 @@ int main(int argc, char *argv[])
{
params::inst().useAMD = false;
}
+ else if(opName.compare("--noAMDCache") == 0)
+ {
+ params::inst().AMDCache = false;
+ }
else if(opName.compare("--noNVIDIA") == 0)
{
params::inst().useNVIDIA = false;
OpenPOWER on IntegriCloud