Added command line option --opencl.

This commit is contained in:
XMRig
2019-09-24 03:14:35 +07:00
parent 5f948d0d96
commit 2604705bab
7 changed files with 691 additions and 3 deletions

View File

@@ -91,6 +91,9 @@ static const option options[] = {
# ifdef XMRIG_ALGO_RANDOMX
{ "randomx-init", 1, nullptr, IConfig::RandomXInitKey },
{ "randomx-no-numa", 0, nullptr, IConfig::RandomXNumaKey },
# endif
# ifdef XMRIG_FEATURE_OPENCL
{ "opencl", 0, nullptr, IConfig::OclKey },
# endif
{ nullptr, 0, nullptr, 0 }
};