mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
21 lines
525 B
C
21 lines
525 B
C
#include "bmw512-gate.h"
|
|
|
|
bool register_bmw512_algo( algo_gate_t* gate )
|
|
{
|
|
gate->optimizations = AVX2_OPT | AVX512_OPT;
|
|
opt_target_factor = 256.0;
|
|
#if defined (BMW512_8WAY)
|
|
gate->scanhash = (void*)&scanhash_bmw512_8way;
|
|
gate->hash = (void*)&bmw512hash_8way;
|
|
#elif defined (BMW512_4WAY)
|
|
gate->scanhash = (void*)&scanhash_bmw512_4way;
|
|
gate->hash = (void*)&bmw512hash_4way;
|
|
#else
|
|
gate->scanhash = (void*)&scanhash_bmw512;
|
|
gate->hash = (void*)&bmw512hash;
|
|
#endif
|
|
return true;
|
|
};
|
|
|
|
|