From 838f078fa51b7618b627d94751f1727456570400 Mon Sep 17 00:00:00 2001 From: XMRig Date: Thu, 26 Sep 2019 01:53:16 +0700 Subject: [PATCH] Advanced opencl options postponed. --- CHANGELOG.md | 1 + src/core/config/Config_platform.h | 4 ---- src/core/config/usage.h | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24749dd90..fb8d9dba9 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/src/core/config/Config_platform.h b/src/core/config/Config_platform.h index 79c3b1596..e58a9fb76 100644 --- a/src/core/config/Config_platform.h +++ b/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 }, diff --git a/src/core/config/usage.h b/src/core/config/usage.h index f1d5fda5d..fc9695a3b 100644 --- a/src/core/config/usage.h +++ b/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";