Added option "mode" (or --randomx-mode) for RandomX.

This commit is contained in:
XMRig
2019-11-29 13:00:17 +07:00
parent d01982ccb8
commit b7e1d97d93
20 changed files with 129 additions and 27 deletions

View File

@@ -160,6 +160,9 @@ void xmrig::ConfigTransform::transform(rapidjson::Document &doc, int key, const
case IConfig::RandomXNumaKey: /* --randomx-no-numa */
return set(doc, kRandomX, "numa", false);
case IConfig::RandomXModeKey: /* --randomx-mode */
return set(doc, kRandomX, "mode", arg);
# endif
# ifdef XMRIG_FEATURE_OPENCL