Implemented --opencl-no-cache, --opencl-loader, --opencl-platform command line options.

This commit is contained in:
XMRig 2019-09-24 18:39:43 +07:00
parent 2604705bab
commit 6267ecc3dc
3 changed files with 30 additions and 0 deletions

View file

@ -97,6 +97,15 @@ static inline const std::string &usage()
# ifdef XMRIG_FEATURE_OPENCL
u += "\nOpenCL backend:\n";
u += " --opencl enable OpenCL mining backend\n";
u += " --opencl-devices=N list of OpenCL devices to use\n";
u += " --opencl-launch=IxW list of launch config, intensity and worksize\n";
u += " --opencl-strided-index=N list of strided_index option values for each thread\n";
u += " --opencl-mem-chunk=N list of mem_chunk option values for each thread\n";
u += " --opencl-affinity=N list of affinity GPU threads to a CPU\n";
u += " --opencl-platform=N OpenCL platform index or name\n";
u += " --opencl-loader=N path to OpenCL-ICD-Loader (OpenCL.dll or libOpenCL.so)\n";
u += " --opencl-no-cache disable OpenCL cache\n";
u += " --print-platforms print available OpenCL platforms and exit\n";
# endif
u += "\nLogging:\n";