1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-26 22:12:53 -05:00
This commit is contained in:
MoneroOcean
2019-12-15 15:43:17 -08:00
8 changed files with 116 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ static AlgoName const algorithm_names[] = {
{ "DefyX", "defyx", Algorithm::DEFYX },
{ "randomx/arq", "rx/arq", Algorithm::RX_ARQ },
{ "RandomARQ", nullptr, Algorithm::RX_ARQ },
{ "RandomV", "rx/v", Algorithm::RX_V },
# endif
# ifdef XMRIG_ALGO_ARGON2
{ "argon2/chukwa", nullptr, Algorithm::AR2_CHUKWA },
@@ -138,6 +139,7 @@ size_t xmrig::Algorithm::l2() const
# ifdef XMRIG_ALGO_RANDOMX
switch (m_id) {
case RX_0:
case RX_V:
case RX_LOKI:
return 0x40000;
@@ -176,6 +178,7 @@ size_t xmrig::Algorithm::l3() const
if (f == RANDOM_X) {
switch (m_id) {
case RX_0:
case RX_V:
case RX_LOKI:
return oneMiB * 2;
@@ -276,6 +279,7 @@ xmrig::Algorithm::Family xmrig::Algorithm::family(Id id)
# ifdef XMRIG_ALGO_RANDOMX
case RX_0:
case RX_V:
case RX_WOW:
case RX_LOKI:
case DEFYX: