diff options
author | psychocrypt <psychocryptHPC@gmail.com> | 2018-03-27 22:06:32 +0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2018-06-04 21:07:11 +0000 |
commit | 824094ec9916ea2dde176e1fb71ab6f7dd9933a7 (patch) | |
tree | 841f4fc23bc0c97992883a8d7cf28eda1fd09ada /xmrstak/cli | |
parent | c71ef550f16837a6b288ae30c13891b99671c24b (diff) | |
download | xmr-stak-824094ec9916ea2dde176e1fb71ab6f7dd9933a7.zip xmr-stak-824094ec9916ea2dde176e1fb71ab6f7dd9933a7.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/cli')
-rw-r--r-- | xmrstak/cli/cli-miner.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp index bd334c0..0c52e10 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 @@ -451,6 +452,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; |