Browse Source

Advanced opencl options postponed.

pull/1220/head
XMRig 5 years ago
parent
commit
838f078fa5
  1. 1
      CHANGELOG.md
  2. 4
      src/core/config/Config_platform.h
  3. 4
      src/core/config/usage.h

1
CHANGELOG.md

@ -3,6 +3,7 @@
- [#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.
- 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.
# v4.0.1-beta

4
src/core/config/Config_platform.h

@ -95,10 +95,6 @@ static const option options[] = {
# ifdef XMRIG_FEATURE_OPENCL
{ "opencl", 0, nullptr, IConfig::OclKey },
{ "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-loader", 1, nullptr, IConfig::OclLoaderKey },
{ "opencl-no-cache", 0, nullptr, IConfig::OclCacheKey },

4
src/core/config/usage.h

@ -98,10 +98,6 @@ static inline const std::string &usage()
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";

Loading…
Cancel
Save