mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
v3.7.4
This commit is contained in:
18
algo/jh/jha-gate.c
Normal file
18
algo/jh/jha-gate.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "jha-gate.h"
|
||||
|
||||
|
||||
bool register_jha_algo( algo_gate_t* gate )
|
||||
{
|
||||
//#if defined (JHA_4WAY)
|
||||
// gate->optimizations = SSE2_OPT | AES_OPT | AVX2_OPT;
|
||||
// gate->scanhash = (void*)&scanhash_jha_4way;
|
||||
// gate->hash = (void*)&jha_hash_4way;
|
||||
//#else
|
||||
gate->optimizations = SSE2_OPT | AES_OPT;
|
||||
gate->scanhash = (void*)&scanhash_jha;
|
||||
gate->hash = (void*)&jha_hash;
|
||||
//#endif
|
||||
gate->set_target = (void*)&scrypt_set_target;
|
||||
return true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user