Files
cpuminer-opt-gpu/algo/bmw/bmw512-gate.c
Jay D Dee 86b889e1b0 v3.9.9.1
2019-10-24 14:11:26 -04:00

18 lines
389 B
C

#include "bmw512-gate.h"
bool register_bmw512_algo( algo_gate_t* gate )
{
gate->optimizations = AVX2_OPT;
opt_target_factor = 256.0;
#if 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;
};