Added config option for AVX2 dataset init
-1 = Auto detect 0 = Always disabled 1 = Enabled if AVX2 is supported
This commit is contained in:
parent
410313d933
commit
633aaccd9c
14 changed files with 74 additions and 38 deletions
|
@ -61,6 +61,7 @@ public:
|
|||
static const char *kCacheQoS;
|
||||
static const char *kField;
|
||||
static const char *kInit;
|
||||
static const char *kInitAVX2;
|
||||
static const char *kMode;
|
||||
static const char *kOneGbPages;
|
||||
static const char *kRdmsr;
|
||||
|
@ -83,6 +84,7 @@ public:
|
|||
const char *modeName() const;
|
||||
uint32_t threads(uint32_t limit = 100) const;
|
||||
|
||||
inline int initDatasetAVX2() const { return m_initDatasetAVX2; }
|
||||
inline bool isOneGbPages() const { return m_oneGbPages; }
|
||||
inline bool rdmsr() const { return m_rdmsr; }
|
||||
inline bool wrmsr() const { return m_wrmsr; }
|
||||
|
@ -111,11 +113,12 @@ private:
|
|||
|
||||
Mode readMode(const rapidjson::Value &value) const;
|
||||
|
||||
bool m_numa = true;
|
||||
bool m_oneGbPages = false;
|
||||
bool m_rdmsr = true;
|
||||
int m_threads = -1;
|
||||
Mode m_mode = AutoMode;
|
||||
bool m_numa = true;
|
||||
bool m_oneGbPages = false;
|
||||
bool m_rdmsr = true;
|
||||
int m_threads = -1;
|
||||
int m_initDatasetAVX2 = -1;
|
||||
Mode m_mode = AutoMode;
|
||||
|
||||
ScratchpadPrefetchMode m_scratchpadPrefetchMode = ScratchpadPrefetchT0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue