Added draft support for multi backend benchmark

This commit is contained in:
MoneroOcean 2019-11-02 20:31:27 -07:00
parent c208f8eb8f
commit f131c2e5fb
3 changed files with 44 additions and 16 deletions

View file

@ -23,6 +23,8 @@
*/
#include <type_traits>
#include "backend/common/Threads.h"
#include "backend/cpu/CpuThreads.h"
#include "crypto/cn/CnAlgo.h"
@ -136,7 +138,7 @@ xmrig::String xmrig::Threads<T>::profileName(const Algorithm &algorithm, bool st
}
}
if (name == "defyx" && has("rx")) return "rx";
if (std::is_same<T, CpuThreads>::value && name == "defyx" && has("rx")) return "rx";
if (has(kAsterisk)) {
return kAsterisk;