1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

Auto-detect the fastest code for dataset init

This commit is contained in:
SChernykh
2020-12-19 13:59:28 +01:00
parent 7aba194d3b
commit 410313d933
5 changed files with 67 additions and 3 deletions

View File

@@ -97,6 +97,7 @@ namespace randomx {
bool BranchesWithin32B = false;
bool hasAVX;
bool hasAVX2;
bool initDatasetAVX2;
bool hasXOP;
uint8_t* allocatedCode = nullptr;