mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
21 lines
547 B
C
21 lines
547 B
C
#ifndef __SKEIN2GATE_H__
|
|
#define __SKEIN2_GATE_H__
|
|
#include "algo-gate-api.h"
|
|
#include <stdint.h>
|
|
|
|
#if defined(__AVX2__)
|
|
#define SKEIN2_4WAY
|
|
#endif
|
|
|
|
#if defined(SKEIN2_4WAY)
|
|
void skein2hash_4way( void *output, const void *input );
|
|
int scanhash_skein2_4way( int thr_id, struct work *work, uint32_t max_nonce,
|
|
uint64_t* hashes_done );
|
|
#endif
|
|
|
|
void skein2hash( void *output, const void *input );
|
|
int scanhash_skein2( int thr_id, struct work *work, uint32_t max_nonce,
|
|
uint64_t *hashes_done );
|
|
#endif
|
|
|