1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-02-02 02:03:03 -05:00

Merge Assembly enum and Asm class.

This commit is contained in:
XMRig
2019-06-28 13:08:08 +07:00
parent 188338c493
commit 66d62de681
19 changed files with 164 additions and 139 deletions

View File

@@ -33,6 +33,7 @@
#include "common/xmrig.h"
#include "crypto/cn/CnAlgo.h"
#include "crypto/common/Assembly.h"
struct cryptonight_ctx;
@@ -50,10 +51,10 @@ class CnHash
public:
CnHash();
cn_hash_fun fn(const Algorithm &algorithm, AlgoVariant av, Assembly assembly) const;
cn_hash_fun fn(const Algorithm &algorithm, AlgoVariant av, Assembly::Id assembly) const;
private:
cn_hash_fun m_map[Algorithm::MAX][AV_MAX][ASM_MAX] = {};
cn_hash_fun m_map[Algorithm::MAX][AV_MAX][Assembly::MAX] = {};
};