Panthera algo implementation
This commit is contained in:
parent
50b1bf8a1d
commit
5eafa9e455
20 changed files with 2897 additions and 426 deletions
|
@ -138,7 +138,7 @@ xmrig::String xmrig::Threads<T>::profileName(const Algorithm &algorithm, bool st
|
|||
}
|
||||
}
|
||||
|
||||
if (std::is_same<T, CpuThreads>::value && name == "defyx" && has("rx")) return "rx";
|
||||
if (std::is_same<T, CpuThreads>::value && (name == "defyx" || name == "panthera") && has("rx")) return "rx";
|
||||
|
||||
if (has(kAsterisk)) {
|
||||
return kAsterisk;
|
||||
|
|
|
@ -142,6 +142,10 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<CpuThreads> &threads, uint32
|
|||
count += generate("defyx", threads, Algorithm::RX_DEFYX, limit);
|
||||
}
|
||||
|
||||
if (!threads.isExist(Algorithm::RX_XLA)) {
|
||||
count += generate("panthera", threads, Algorithm::RX_XLA, limit);
|
||||
}
|
||||
|
||||
count += generate("rx", threads, Algorithm::RX_0, limit);
|
||||
|
||||
return count;
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#define ALGO_ASTROBWT_DERO 28
|
||||
#define ALGO_KAWPOW_RVN 29
|
||||
#define ALGO_RX_DEFYX 30
|
||||
#define ALGO_RX_XLA 31
|
||||
|
||||
#define FAMILY_UNKNOWN 0
|
||||
#define FAMILY_CN 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue