Fixed huge pages on Windows

Cleanup of default config files
Added single-double threads to summary printout
This commit is contained in:
BenDroid 2017-12-02 20:48:19 +01:00
parent bcff3f0d16
commit 8e2c80fc5b
4 changed files with 27 additions and 4 deletions

View file

@ -163,6 +163,8 @@ bool Mem::allocate(const Options* options)
}
}
m_memorySize = m_memorySize - (m_memorySize % MEMORY) + MEMORY;
if (!options->hugePages()) {
m_memory = static_cast<uint8_t*>(_mm_malloc(m_memorySize, 16));
return true;