This commit is contained in:
Jay D Dee
2023-10-25 20:36:20 -04:00
parent 31c4dedf59
commit 160608cce5
180 changed files with 10318 additions and 13097 deletions

View File

@@ -3,7 +3,7 @@
#if !( defined(LYRA2H_8WAY) || defined(LYRA2H_4WAY) )
#include <memory.h>
#include <mm_malloc.h>
//#include <mm_malloc.h>
#include "lyra2.h"
#include "algo/blake/sph_blake.h"
@@ -11,7 +11,7 @@ __thread uint64_t* lyra2h_matrix;
bool lyra2h_thread_init()
{
lyra2h_matrix = _mm_malloc( LYRA2H_MATRIX_SIZE, 64 );
lyra2h_matrix = mm_malloc( LYRA2H_MATRIX_SIZE, 64 );
return lyra2h_matrix;
}