Added command line options --cache-qos (--randomx-cache-qos) and --argon2-impl (--cpu-argon2-impl).

This commit is contained in:
XMRig 2020-07-20 09:17:59 +07:00
parent 1ec185a3a0
commit 70c7f33a20
No known key found for this signature in database
GPG key ID: 446A53638BE94409
6 changed files with 25 additions and 7 deletions

View file

@ -72,8 +72,8 @@ bool xmrig::argon2::Impl::select(const String &nameHint, bool benchmark)
}
}
if (hint.isEmpty() || argon2_select_impl_by_name(hint) == 0) {
argon2_select_impl();
if (!hint.isEmpty()) {
argon2_select_impl_by_name(hint);
}
# endif