Advanced opencl options postponed.

This commit is contained in:
XMRig 2019-09-26 01:53:16 +07:00
parent d6f0555771
commit 838f078fa5
3 changed files with 1 additions and 8 deletions

View file

@ -3,6 +3,7 @@
- [#1183](https://github.com/xmrig/xmrig/issues/1183) Fixed compatibility with systemd. - [#1183](https://github.com/xmrig/xmrig/issues/1183) Fixed compatibility with systemd.
- [#1185](https://github.com/xmrig/xmrig/pull/1185) Added JIT compiler for RandomX on ARMv8. - [#1185](https://github.com/xmrig/xmrig/pull/1185) Added JIT compiler for RandomX on ARMv8.
- Added command line option `--no-cpu` to disable CPU backend. - Added command line option `--no-cpu` to disable CPU backend.
- Added OpenCL specific command line options: `--opencl`, `--opencl-devices`, `--opencl-platform`, `--opencl-loader` and `--opencl-no-cache`.
- Removed command line option `--http-enabled`, HTTP API enabled automatically if any other `--http-*` option provided. - Removed command line option `--http-enabled`, HTTP API enabled automatically if any other `--http-*` option provided.
# v4.0.1-beta # v4.0.1-beta

View file

@ -95,10 +95,6 @@ static const option options[] = {
# ifdef XMRIG_FEATURE_OPENCL # ifdef XMRIG_FEATURE_OPENCL
{ "opencl", 0, nullptr, IConfig::OclKey }, { "opencl", 0, nullptr, IConfig::OclKey },
{ "opencl-devices", 1, nullptr, IConfig::OclDevicesKey }, { "opencl-devices", 1, nullptr, IConfig::OclDevicesKey },
{ "opencl-launch", 1, nullptr, IConfig::OclLaunchKey },
{ "opencl-strided-index", 1, nullptr, IConfig::OclSridedIndexKey },
{ "opencl-mem-chunk", 1, nullptr, IConfig::OclMemChunkKey },
{ "opencl-affinity", 1, nullptr, IConfig::OclAffinityKey },
{ "opencl-platform", 1, nullptr, IConfig::OclPlatformKey }, { "opencl-platform", 1, nullptr, IConfig::OclPlatformKey },
{ "opencl-loader", 1, nullptr, IConfig::OclLoaderKey }, { "opencl-loader", 1, nullptr, IConfig::OclLoaderKey },
{ "opencl-no-cache", 0, nullptr, IConfig::OclCacheKey }, { "opencl-no-cache", 0, nullptr, IConfig::OclCacheKey },

View file

@ -98,10 +98,6 @@ static inline const std::string &usage()
u += "\nOpenCL backend:\n"; u += "\nOpenCL backend:\n";
u += " --opencl enable OpenCL mining backend\n"; u += " --opencl enable OpenCL mining backend\n";
u += " --opencl-devices=N list of OpenCL devices to use\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-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-loader=N path to OpenCL-ICD-Loader (OpenCL.dll or libOpenCL.so)\n";
u += " --opencl-no-cache disable OpenCL cache\n"; u += " --opencl-no-cache disable OpenCL cache\n";