mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
17 lines
363 B
C
17 lines
363 B
C
#include "blake-gate.h"
|
|
|
|
bool register_blake_algo( algo_gate_t* gate )
|
|
{
|
|
gate->optimizations = AVX2_OPT;
|
|
#if defined(BLAKE_4WAY)
|
|
four_way_not_tested();
|
|
gate->scanhash = (void*)&scanhash_blake_4way;
|
|
gate->hash = (void*)&blakehash_4way;
|
|
#else
|
|
gate->scanhash = (void*)&scanhash_blake;
|
|
gate->hash = (void*)&blakehash;
|
|
#endif
|
|
return true;
|
|
}
|
|
|