mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
16 lines
387 B
C
16 lines
387 B
C
#include "pentablake-gate.h"
|
|
|
|
bool register_pentablake_algo( algo_gate_t* gate )
|
|
{
|
|
#if defined (PENTABLAKE_4WAY)
|
|
gate->scanhash = (void*)&scanhash_pentablake_4way;
|
|
gate->hash = (void*)&pentablakehash_4way;
|
|
#else
|
|
gate->scanhash = (void*)&scanhash_pentablake;
|
|
gate->hash = (void*)&pentablakehash;
|
|
#endif
|
|
gate->optimizations = AVX2_OPT;
|
|
return true;
|
|
};
|
|
|