Merge branch 'feature-rx-keva' into dev
This commit is contained in:
commit
d591832eea
17 changed files with 5882 additions and 5681 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# v5.9.0
|
||||||
|
- [#1578](https://github.com/xmrig/xmrig/pull/1578) Added new RandomKEVA algorithm for upcoming Kevacoin fork, as `"algo": "rx/keva"` or `"coin": "keva"`.
|
||||||
|
|
||||||
# v5.8.2
|
# v5.8.2
|
||||||
- [#1580](https://github.com/xmrig/xmrig/pull/1580) AstroBWT algorithm 20-50% speedup.
|
- [#1580](https://github.com/xmrig/xmrig/pull/1580) AstroBWT algorithm 20-50% speedup.
|
||||||
- Added new option `astrobwt-max-size`.
|
- Added new option `astrobwt-max-size`.
|
||||||
|
|
|
@ -60,6 +60,7 @@ function rx()
|
||||||
'randomx_constants_wow.h',
|
'randomx_constants_wow.h',
|
||||||
'randomx_constants_loki.h',
|
'randomx_constants_loki.h',
|
||||||
'randomx_constants_arqma.h',
|
'randomx_constants_arqma.h',
|
||||||
|
'randomx_constants_keva.h',
|
||||||
'aes.cl',
|
'aes.cl',
|
||||||
'blake2b.cl',
|
'blake2b.cl',
|
||||||
'randomx_vm.cl',
|
'randomx_vm.cl',
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
||||||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
||||||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
||||||
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
||||||
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
* Copyright 2016-2020 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -109,11 +109,11 @@ template<>
|
||||||
size_t inline generate<Algorithm::RANDOM_X>(Threads<CpuThreads> &threads, uint32_t limit)
|
size_t inline generate<Algorithm::RANDOM_X>(Threads<CpuThreads> &threads, uint32_t limit)
|
||||||
{
|
{
|
||||||
size_t count = 0;
|
size_t count = 0;
|
||||||
|
auto cpuInfo = Cpu::info();
|
||||||
auto wow = Cpu::info()->threads(Algorithm::RX_WOW, limit);
|
auto wow = cpuInfo->threads(Algorithm::RX_WOW, limit);
|
||||||
|
|
||||||
if (!threads.isExist(Algorithm::RX_ARQ)) {
|
if (!threads.isExist(Algorithm::RX_ARQ)) {
|
||||||
auto arq = Cpu::info()->threads(Algorithm::RX_ARQ, limit);
|
auto arq = cpuInfo->threads(Algorithm::RX_ARQ, limit);
|
||||||
if (arq == wow) {
|
if (arq == wow) {
|
||||||
threads.setAlias(Algorithm::RX_ARQ, "rx/wow");
|
threads.setAlias(Algorithm::RX_ARQ, "rx/wow");
|
||||||
++count;
|
++count;
|
||||||
|
@ -123,6 +123,17 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<CpuThreads> &threads, uint32
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!threads.isExist(Algorithm::RX_KEVA)) {
|
||||||
|
auto keva = cpuInfo->threads(Algorithm::RX_KEVA, limit);
|
||||||
|
if (keva == wow) {
|
||||||
|
threads.setAlias(Algorithm::RX_KEVA, "rx/wow");
|
||||||
|
++count;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
count += threads.move("rx/keva", std::move(keva));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!threads.isExist(Algorithm::RX_WOW)) {
|
if (!threads.isExist(Algorithm::RX_WOW)) {
|
||||||
count += threads.move("rx/wow", std::move(wow));
|
count += threads.move("rx/wow", std::move(wow));
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
||||||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
||||||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
||||||
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
||||||
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
* Copyright 2016-2020 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -115,6 +115,7 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<CudaThreads> &threads, const
|
||||||
auto rx = CudaThreads(devices, Algorithm::RX_0);
|
auto rx = CudaThreads(devices, Algorithm::RX_0);
|
||||||
auto wow = CudaThreads(devices, Algorithm::RX_WOW);
|
auto wow = CudaThreads(devices, Algorithm::RX_WOW);
|
||||||
auto arq = CudaThreads(devices, Algorithm::RX_ARQ);
|
auto arq = CudaThreads(devices, Algorithm::RX_ARQ);
|
||||||
|
auto kva = CudaThreads(devices, Algorithm::RX_KEVA);
|
||||||
|
|
||||||
if (!threads.isExist(Algorithm::RX_WOW) && wow != rx) {
|
if (!threads.isExist(Algorithm::RX_WOW) && wow != rx) {
|
||||||
count += threads.move("rx/wow", std::move(wow));
|
count += threads.move("rx/wow", std::move(wow));
|
||||||
|
@ -124,6 +125,10 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<CudaThreads> &threads, const
|
||||||
count += threads.move("rx/arq", std::move(arq));
|
count += threads.move("rx/arq", std::move(arq));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!threads.isExist(Algorithm::RX_KEVA) && kva != rx) {
|
||||||
|
count += threads.move("rx/keva", std::move(kva));
|
||||||
|
}
|
||||||
|
|
||||||
count += threads.move("rx", std::move(rx));
|
count += threads.move("rx", std::move(rx));
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
|
|
|
@ -22,9 +22,10 @@
|
||||||
#define ALGO_RX_LOKI 21
|
#define ALGO_RX_LOKI 21
|
||||||
#define ALGO_RX_ARQMA 22
|
#define ALGO_RX_ARQMA 22
|
||||||
#define ALGO_RX_SFX 23
|
#define ALGO_RX_SFX 23
|
||||||
#define ALGO_AR2_CHUKWA 24
|
#define ALGO_RX_KEVA 24
|
||||||
#define ALGO_AR2_WRKZ 25
|
#define ALGO_AR2_CHUKWA 25
|
||||||
#define ALGO_ASTROBWT_DERO 26
|
#define ALGO_AR2_WRKZ 26
|
||||||
|
#define ALGO_ASTROBWT_DERO 27
|
||||||
|
|
||||||
#define FAMILY_UNKNOWN 0
|
#define FAMILY_UNKNOWN 0
|
||||||
#define FAMILY_CN 1
|
#define FAMILY_CN 1
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -8,6 +8,8 @@
|
||||||
#include "randomx_constants_loki.h"
|
#include "randomx_constants_loki.h"
|
||||||
#elif (ALGO == ALGO_RX_ARQMA)
|
#elif (ALGO == ALGO_RX_ARQMA)
|
||||||
#include "randomx_constants_arqma.h"
|
#include "randomx_constants_arqma.h"
|
||||||
|
#elif (ALGO == ALGO_RX_KEVA)
|
||||||
|
#include "randomx_constants_keva.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "aes.cl"
|
#include "aes.cl"
|
||||||
|
|
File diff suppressed because it is too large
Load diff
96
src/backend/opencl/cl/rx/randomx_constants_keva.h
Normal file
96
src/backend/opencl/cl/rx/randomx_constants_keva.h
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
/*
|
||||||
|
Copyright (c) 2019 SChernykh
|
||||||
|
|
||||||
|
This file is part of RandomX OpenCL.
|
||||||
|
|
||||||
|
RandomX OpenCL is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
RandomX OpenCL is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with RandomX OpenCL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
//Dataset base size in bytes. Must be a power of 2.
|
||||||
|
#define RANDOMX_DATASET_BASE_SIZE 2147483648
|
||||||
|
|
||||||
|
//Dataset extra size. Must be divisible by 64.
|
||||||
|
#define RANDOMX_DATASET_EXTRA_SIZE 33554368
|
||||||
|
|
||||||
|
//Scratchpad L3 size in bytes. Must be a power of 2.
|
||||||
|
#define RANDOMX_SCRATCHPAD_L3 1048576
|
||||||
|
|
||||||
|
//Scratchpad L2 size in bytes. Must be a power of two and less than or equal to RANDOMX_SCRATCHPAD_L3.
|
||||||
|
#define RANDOMX_SCRATCHPAD_L2 131072
|
||||||
|
|
||||||
|
//Scratchpad L1 size in bytes. Must be a power of two (minimum 64) and less than or equal to RANDOMX_SCRATCHPAD_L2.
|
||||||
|
#define RANDOMX_SCRATCHPAD_L1 16384
|
||||||
|
|
||||||
|
//Jump condition mask size in bits.
|
||||||
|
#define RANDOMX_JUMP_BITS 8
|
||||||
|
|
||||||
|
//Jump condition mask offset in bits. The sum of RANDOMX_JUMP_BITS and RANDOMX_JUMP_OFFSET must not exceed 16.
|
||||||
|
#define RANDOMX_JUMP_OFFSET 8
|
||||||
|
|
||||||
|
//Integer instructions
|
||||||
|
#define RANDOMX_FREQ_IADD_RS 16
|
||||||
|
#define RANDOMX_FREQ_IADD_M 7
|
||||||
|
#define RANDOMX_FREQ_ISUB_R 16
|
||||||
|
#define RANDOMX_FREQ_ISUB_M 7
|
||||||
|
#define RANDOMX_FREQ_IMUL_R 16
|
||||||
|
#define RANDOMX_FREQ_IMUL_M 4
|
||||||
|
#define RANDOMX_FREQ_IMULH_R 4
|
||||||
|
#define RANDOMX_FREQ_IMULH_M 1
|
||||||
|
#define RANDOMX_FREQ_ISMULH_R 4
|
||||||
|
#define RANDOMX_FREQ_ISMULH_M 1
|
||||||
|
#define RANDOMX_FREQ_IMUL_RCP 8
|
||||||
|
#define RANDOMX_FREQ_INEG_R 2
|
||||||
|
#define RANDOMX_FREQ_IXOR_R 15
|
||||||
|
#define RANDOMX_FREQ_IXOR_M 5
|
||||||
|
#define RANDOMX_FREQ_IROR_R 8
|
||||||
|
#define RANDOMX_FREQ_IROL_R 2
|
||||||
|
#define RANDOMX_FREQ_ISWAP_R 4
|
||||||
|
|
||||||
|
//Floating point instructions
|
||||||
|
#define RANDOMX_FREQ_FSWAP_R 4
|
||||||
|
#define RANDOMX_FREQ_FADD_R 16
|
||||||
|
#define RANDOMX_FREQ_FADD_M 5
|
||||||
|
#define RANDOMX_FREQ_FSUB_R 16
|
||||||
|
#define RANDOMX_FREQ_FSUB_M 5
|
||||||
|
#define RANDOMX_FREQ_FSCAL_R 6
|
||||||
|
#define RANDOMX_FREQ_FMUL_R 32
|
||||||
|
#define RANDOMX_FREQ_FDIV_M 4
|
||||||
|
#define RANDOMX_FREQ_FSQRT_R 6
|
||||||
|
|
||||||
|
//Control instructions
|
||||||
|
#define RANDOMX_FREQ_CBRANCH 25
|
||||||
|
#define RANDOMX_FREQ_CFROUND 1
|
||||||
|
|
||||||
|
//Store instruction
|
||||||
|
#define RANDOMX_FREQ_ISTORE 16
|
||||||
|
|
||||||
|
//No-op instruction
|
||||||
|
#define RANDOMX_FREQ_NOP 0
|
||||||
|
|
||||||
|
#define RANDOMX_DATASET_ITEM_SIZE 64
|
||||||
|
|
||||||
|
#define RANDOMX_PROGRAM_SIZE 256
|
||||||
|
|
||||||
|
#define HASH_SIZE 64
|
||||||
|
#define ENTROPY_SIZE (128 + RANDOMX_PROGRAM_SIZE * 8)
|
||||||
|
#define REGISTERS_SIZE 256
|
||||||
|
#define IMM_BUF_SIZE (RANDOMX_PROGRAM_SIZE * 4 - REGISTERS_SIZE)
|
||||||
|
#define IMM_INDEX_COUNT ((IMM_BUF_SIZE / 4) - 2)
|
||||||
|
#define VM_STATE_SIZE (REGISTERS_SIZE + IMM_BUF_SIZE + RANDOMX_PROGRAM_SIZE * 4)
|
||||||
|
#define ROUNDING_MODE (RANDOMX_FREQ_CFROUND ? -1 : 0)
|
||||||
|
|
||||||
|
// Scratchpad L1/L2/L3 bits
|
||||||
|
#define LOC_L1 (32 - 14)
|
||||||
|
#define LOC_L2 (32 - 17)
|
||||||
|
#define LOC_L3 (32 - 20)
|
|
@ -116,6 +116,8 @@ static AlgoName const algorithm_names[] = {
|
||||||
{ "RandomARQ", nullptr, Algorithm::RX_ARQ },
|
{ "RandomARQ", nullptr, Algorithm::RX_ARQ },
|
||||||
{ "randomx/sfx", "rx/sfx", Algorithm::RX_SFX },
|
{ "randomx/sfx", "rx/sfx", Algorithm::RX_SFX },
|
||||||
{ "RandomSFX", nullptr, Algorithm::RX_SFX },
|
{ "RandomSFX", nullptr, Algorithm::RX_SFX },
|
||||||
|
{ "randomx/keva", "rx/keva", Algorithm::RX_KEVA },
|
||||||
|
{ "RandomKEVA", nullptr, Algorithm::RX_KEVA },
|
||||||
# endif
|
# endif
|
||||||
# ifdef XMRIG_ALGO_ARGON2
|
# ifdef XMRIG_ALGO_ARGON2
|
||||||
{ "argon2/chukwa", nullptr, Algorithm::AR2_CHUKWA },
|
{ "argon2/chukwa", nullptr, Algorithm::AR2_CHUKWA },
|
||||||
|
@ -150,6 +152,7 @@ size_t xmrig::Algorithm::l2() const
|
||||||
return 0x40000;
|
return 0x40000;
|
||||||
|
|
||||||
case RX_WOW:
|
case RX_WOW:
|
||||||
|
case RX_KEVA:
|
||||||
return 0x20000;
|
return 0x20000;
|
||||||
|
|
||||||
case RX_ARQ:
|
case RX_ARQ:
|
||||||
|
@ -186,6 +189,7 @@ size_t xmrig::Algorithm::l3() const
|
||||||
return oneMiB * 2;
|
return oneMiB * 2;
|
||||||
|
|
||||||
case RX_WOW:
|
case RX_WOW:
|
||||||
|
case RX_KEVA:
|
||||||
return oneMiB;
|
return oneMiB;
|
||||||
|
|
||||||
case RX_ARQ:
|
case RX_ARQ:
|
||||||
|
@ -302,6 +306,7 @@ xmrig::Algorithm::Family xmrig::Algorithm::family(Id id)
|
||||||
case RX_LOKI:
|
case RX_LOKI:
|
||||||
case RX_ARQ:
|
case RX_ARQ:
|
||||||
case RX_SFX:
|
case RX_SFX:
|
||||||
|
case RX_KEVA:
|
||||||
return RANDOM_X;
|
return RANDOM_X;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ public:
|
||||||
RX_LOKI, // "rx/loki" RandomXL (Loki).
|
RX_LOKI, // "rx/loki" RandomXL (Loki).
|
||||||
RX_ARQ, // "rx/arq" RandomARQ (Arqma).
|
RX_ARQ, // "rx/arq" RandomARQ (Arqma).
|
||||||
RX_SFX, // "rx/sfx" RandomSFX (Safex Cash).
|
RX_SFX, // "rx/sfx" RandomSFX (Safex Cash).
|
||||||
|
RX_KEVA, // "rx/keva" RandomKEVA (Keva).
|
||||||
AR2_CHUKWA, // "argon2/chukwa" Argon2id (Chukwa).
|
AR2_CHUKWA, // "argon2/chukwa" Argon2id (Chukwa).
|
||||||
AR2_WRKZ, // "argon2/wrkz" Argon2id (WRKZ)
|
AR2_WRKZ, // "argon2/wrkz" Argon2id (WRKZ)
|
||||||
ASTROBWT_DERO, // "astrobwt" AstroBWT (Dero)
|
ASTROBWT_DERO, // "astrobwt" AstroBWT (Dero)
|
||||||
|
|
|
@ -52,6 +52,7 @@ static CoinName const coin_names[] = {
|
||||||
{ "arqma", Coin::ARQMA },
|
{ "arqma", Coin::ARQMA },
|
||||||
{ "arq", Coin::ARQMA },
|
{ "arq", Coin::ARQMA },
|
||||||
{ "dero", Coin::DERO },
|
{ "dero", Coin::DERO },
|
||||||
|
{ "keva", Coin::KEVA }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -71,6 +72,9 @@ xmrig::Algorithm::Id xmrig::Coin::algorithm(uint8_t blobVersion) const
|
||||||
case DERO:
|
case DERO:
|
||||||
return (blobVersion >= 4) ? Algorithm::ASTROBWT_DERO : Algorithm::CN_0;
|
return (blobVersion >= 4) ? Algorithm::ASTROBWT_DERO : Algorithm::CN_0;
|
||||||
|
|
||||||
|
case KEVA:
|
||||||
|
return (blobVersion >= 11) ? Algorithm::RX_KEVA : Algorithm::CN_R;
|
||||||
|
|
||||||
case INVALID:
|
case INVALID:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,8 @@ public:
|
||||||
INVALID = -1,
|
INVALID = -1,
|
||||||
MONERO,
|
MONERO,
|
||||||
ARQMA,
|
ARQMA,
|
||||||
DERO
|
DERO,
|
||||||
|
KEVA
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -99,6 +99,13 @@ RandomX_ConfigurationSafex::RandomX_ConfigurationSafex()
|
||||||
ArgonSalt = "RandomSFX\x01";
|
ArgonSalt = "RandomSFX\x01";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RandomX_ConfigurationKeva::RandomX_ConfigurationKeva()
|
||||||
|
{
|
||||||
|
ArgonSalt = "RandomKV\x01";
|
||||||
|
ScratchpadL2_Size = 131072;
|
||||||
|
ScratchpadL3_Size = 1048576;
|
||||||
|
}
|
||||||
|
|
||||||
RandomX_ConfigurationBase::RandomX_ConfigurationBase()
|
RandomX_ConfigurationBase::RandomX_ConfigurationBase()
|
||||||
: ArgonMemory(262144)
|
: ArgonMemory(262144)
|
||||||
, ArgonIterations(3)
|
, ArgonIterations(3)
|
||||||
|
@ -300,6 +307,7 @@ RandomX_ConfigurationWownero RandomX_WowneroConfig;
|
||||||
RandomX_ConfigurationLoki RandomX_LokiConfig;
|
RandomX_ConfigurationLoki RandomX_LokiConfig;
|
||||||
RandomX_ConfigurationArqma RandomX_ArqmaConfig;
|
RandomX_ConfigurationArqma RandomX_ArqmaConfig;
|
||||||
RandomX_ConfigurationSafex RandomX_SafexConfig;
|
RandomX_ConfigurationSafex RandomX_SafexConfig;
|
||||||
|
RandomX_ConfigurationKeva RandomX_KevaConfig;
|
||||||
|
|
||||||
alignas(64) RandomX_ConfigurationBase RandomX_CurrentConfig;
|
alignas(64) RandomX_ConfigurationBase RandomX_CurrentConfig;
|
||||||
|
|
||||||
|
|
|
@ -183,12 +183,14 @@ struct RandomX_ConfigurationWownero : public RandomX_ConfigurationBase { RandomX
|
||||||
struct RandomX_ConfigurationLoki : public RandomX_ConfigurationBase { RandomX_ConfigurationLoki(); };
|
struct RandomX_ConfigurationLoki : public RandomX_ConfigurationBase { RandomX_ConfigurationLoki(); };
|
||||||
struct RandomX_ConfigurationArqma : public RandomX_ConfigurationBase { RandomX_ConfigurationArqma(); };
|
struct RandomX_ConfigurationArqma : public RandomX_ConfigurationBase { RandomX_ConfigurationArqma(); };
|
||||||
struct RandomX_ConfigurationSafex : public RandomX_ConfigurationBase { RandomX_ConfigurationSafex(); };
|
struct RandomX_ConfigurationSafex : public RandomX_ConfigurationBase { RandomX_ConfigurationSafex(); };
|
||||||
|
struct RandomX_ConfigurationKeva : public RandomX_ConfigurationBase { RandomX_ConfigurationKeva(); };
|
||||||
|
|
||||||
extern RandomX_ConfigurationMonero RandomX_MoneroConfig;
|
extern RandomX_ConfigurationMonero RandomX_MoneroConfig;
|
||||||
extern RandomX_ConfigurationWownero RandomX_WowneroConfig;
|
extern RandomX_ConfigurationWownero RandomX_WowneroConfig;
|
||||||
extern RandomX_ConfigurationLoki RandomX_LokiConfig;
|
extern RandomX_ConfigurationLoki RandomX_LokiConfig;
|
||||||
extern RandomX_ConfigurationArqma RandomX_ArqmaConfig;
|
extern RandomX_ConfigurationArqma RandomX_ArqmaConfig;
|
||||||
extern RandomX_ConfigurationSafex RandomX_SafexConfig;
|
extern RandomX_ConfigurationSafex RandomX_SafexConfig;
|
||||||
|
extern RandomX_ConfigurationKeva RandomX_KevaConfig;
|
||||||
|
|
||||||
extern RandomX_ConfigurationBase RandomX_CurrentConfig;
|
extern RandomX_ConfigurationBase RandomX_CurrentConfig;
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,9 @@ const RandomX_ConfigurationBase *xmrig::RxAlgo::base(Algorithm::Id algorithm)
|
||||||
case Algorithm::RX_SFX:
|
case Algorithm::RX_SFX:
|
||||||
return &RandomX_SafexConfig;
|
return &RandomX_SafexConfig;
|
||||||
|
|
||||||
|
case Algorithm::RX_KEVA:
|
||||||
|
return &RandomX_KevaConfig;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,15 +28,15 @@
|
||||||
#define APP_ID "xmrig"
|
#define APP_ID "xmrig"
|
||||||
#define APP_NAME "XMRig"
|
#define APP_NAME "XMRig"
|
||||||
#define APP_DESC "XMRig miner"
|
#define APP_DESC "XMRig miner"
|
||||||
#define APP_VERSION "5.8.3-dev"
|
#define APP_VERSION "5.9.0-dev"
|
||||||
#define APP_DOMAIN "xmrig.com"
|
#define APP_DOMAIN "xmrig.com"
|
||||||
#define APP_SITE "www.xmrig.com"
|
#define APP_SITE "www.xmrig.com"
|
||||||
#define APP_COPYRIGHT "Copyright (C) 2016-2020 xmrig.com"
|
#define APP_COPYRIGHT "Copyright (C) 2016-2020 xmrig.com"
|
||||||
#define APP_KIND "miner"
|
#define APP_KIND "miner"
|
||||||
|
|
||||||
#define APP_VER_MAJOR 5
|
#define APP_VER_MAJOR 5
|
||||||
#define APP_VER_MINOR 8
|
#define APP_VER_MINOR 9
|
||||||
#define APP_VER_PATCH 3
|
#define APP_VER_PATCH 0
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# if (_MSC_VER >= 1920)
|
# if (_MSC_VER >= 1920)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue