Added command line options --cuda and --cuda-loader.

This commit is contained in:
XMRig
2019-10-29 00:42:49 +07:00
parent 80fd0f9fab
commit 9dfa38f1e7
7 changed files with 40 additions and 3 deletions

View File

@@ -103,6 +103,10 @@ static const option options[] = {
{ "opencl-platform", 1, nullptr, IConfig::OclPlatformKey },
{ "opencl-loader", 1, nullptr, IConfig::OclLoaderKey },
{ "opencl-no-cache", 0, nullptr, IConfig::OclCacheKey },
# endif
# ifdef XMRIG_FEATURE_CUDA
{ "cuda", 0, nullptr, IConfig::CudaKey },
{ "cuda-loader", 1, nullptr, IConfig::CudaLoaderKey },
# endif
{ nullptr, 0, nullptr, 0 }
};