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

19 lines
439 B
C

#include "xevan-gate.h"
bool register_xevan_algo( algo_gate_t* gate )
{
#if defined (XEVAN_4WAY)
// init_xevan_4way_ctx();
gate->scanhash = (void*)&scanhash_xevan_4way;
gate->hash = (void*)&xevan_4way_hash;
#else
init_xevan_ctx();
gate->scanhash = (void*)&scanhash_xevan;
gate->hash = (void*)&xevan_hash;
#endif
gate->optimizations = SSE2_OPT | AES_OPT | AVX2_OPT;
opt_target_factor = 256.0;
return true;
};