Added experimental DefyX support
This commit is contained in:
parent
4639c860a4
commit
c19cb4672d
30 changed files with 5249 additions and 2 deletions
|
@ -115,6 +115,7 @@ static AlgoName const algorithm_names[] = {
|
|||
{ "RandomWOW", nullptr, Algorithm::RX_WOW },
|
||||
{ "randomx/loki", "rx/loki", Algorithm::RX_LOKI },
|
||||
{ "RandomXL", nullptr, Algorithm::RX_LOKI },
|
||||
{ "DefyX", "defyx", Algorithm::DEFYX },
|
||||
# endif
|
||||
};
|
||||
|
||||
|
@ -159,6 +160,9 @@ size_t xmrig::Algorithm::l2() const
|
|||
case RX_WOW:
|
||||
return 0x20000;
|
||||
|
||||
case DEFYX:
|
||||
return 0x20000;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -189,6 +193,9 @@ size_t xmrig::Algorithm::l3() const
|
|||
case RX_WOW:
|
||||
return oneMiB;
|
||||
|
||||
case DEFYX:
|
||||
return 0x40000;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -241,6 +248,7 @@ xmrig::Algorithm::Family xmrig::Algorithm::family(Id id)
|
|||
case RX_0:
|
||||
case RX_WOW:
|
||||
case RX_LOKI:
|
||||
case DEFYX:
|
||||
return RANDOM_X;
|
||||
# endif
|
||||
|
||||
|
|
|
@ -72,6 +72,7 @@ public:
|
|||
RX_0, // "rx/0" RandomX (reference configuration).
|
||||
RX_WOW, // "rx/wow" RandomWOW (Wownero).
|
||||
RX_LOKI, // "rx/loki" RandomXL (Loki).
|
||||
DEFYX, // "defyx" DefyX (Scala).
|
||||
# endif
|
||||
MAX
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue