Added experimental DefyX support
This commit is contained in:
parent
4639c860a4
commit
c19cb4672d
30 changed files with 5249 additions and 2 deletions
|
@ -126,6 +126,7 @@ float Benchmark::get_algo_perf(Algorithm::Id algo) const {
|
|||
case Algorithm::RX_0: return m_bench_algo_perf[BenchAlgo::RX_0];
|
||||
case Algorithm::RX_WOW: return m_bench_algo_perf[BenchAlgo::RX_WOW];
|
||||
case Algorithm::RX_LOKI: return m_bench_algo_perf[BenchAlgo::RX_0];
|
||||
case Algorithm::DEFYX: return m_bench_algo_perf[BenchAlgo::DEFYX];
|
||||
default: return 0.0f;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ class Benchmark : public IJobResultListener {
|
|||
enum BenchAlgo : int {
|
||||
RX_0, // "rx/0" RandomX (reference configuration).
|
||||
RX_WOW, // "rx/wow" RandomWOW (Wownero).
|
||||
DEFYX, // "defyx DefyX.
|
||||
CN_R, // "cn/r" CryptoNightR (Monero's variant 4).
|
||||
CN_GPU, // "cn/gpu" CryptoNight-GPU (Ryo).
|
||||
CN_LITE_1, // "cn-lite/1" CryptoNight-Lite variant 1.
|
||||
|
@ -45,6 +46,7 @@ class Benchmark : public IJobResultListener {
|
|||
const Algorithm::Id ba2a[BenchAlgo::MAX] = {
|
||||
Algorithm::RX_0,
|
||||
Algorithm::RX_WOW,
|
||||
Algorithm::DEFYX,
|
||||
Algorithm::CN_R,
|
||||
Algorithm::CN_GPU,
|
||||
Algorithm::CN_LITE_1,
|
||||
|
|
|
@ -57,7 +57,7 @@ Options:\n\
|
|||
#endif
|
||||
#ifdef XMRIG_ALGO_RANDOMX
|
||||
"\
|
||||
rx/wow, rx/loki\n"
|
||||
rx/wow, rx/loki, defyx\n"
|
||||
#endif
|
||||
"\
|
||||
-o, --url=URL URL of mining server\n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue