Files
cpuminer-opt-gpu/algo/jh/jha-gate.c
Jay D Dee 01550d94a2 v3.9.8
2019-09-26 22:37:26 -04:00

19 lines
434 B
C

#include "jha-gate.h"
bool register_jha_algo( algo_gate_t* gate )
{
#if defined (JHA_4WAY)
four_way_not_tested();
gate->scanhash = (void*)&scanhash_jha_4way;
gate->hash = (void*)&jha_hash_4way;
#else
gate->scanhash = (void*)&scanhash_jha;
gate->hash = (void*)&jha_hash;
#endif
gate->optimizations = SSE2_OPT | AES_OPT | AVX2_OPT;
opt_target_factor = 65536.0;
return true;
};