mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
19 lines
521 B
C
19 lines
521 B
C
#include "tribus-gate.h"
|
|
|
|
bool register_tribus_algo( algo_gate_t* gate )
|
|
{
|
|
gate->optimizations = SSE2_OPT | AES_OPT | AVX2_OPT;
|
|
gate->get_max64 = (void*)&get_max64_0x1ffff;
|
|
#if defined (TRIBUS_4WAY)
|
|
// init_tribus_4way_ctx();
|
|
gate->scanhash = (void*)&scanhash_tribus_4way;
|
|
gate->hash = (void*)&tribus_hash_4way;
|
|
#else
|
|
gate->miner_thread_init = (void*)&tribus_thread_init;
|
|
gate->scanhash = (void*)&scanhash_tribus;
|
|
gate->hash = (void*)&tribus_hash;
|
|
#endif
|
|
return true;
|
|
};
|
|
|