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

@@ -94,6 +94,14 @@ static const option options[] = {
# endif
# 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 },
# endif
{ nullptr, 0, nullptr, 0 }
};