mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
22 lines
579 B
C
22 lines
579 B
C
#ifndef __PENTABLAKE_GATE_H__
|
|
#define __PENTABLAKE_GATE_H__
|
|
|
|
#include "algo-gate-api.h"
|
|
#include <stdint.h>
|
|
|
|
#if defined(__AVX2__)
|
|
#define PENTABLAKE_4WAY
|
|
#endif
|
|
|
|
#if defined(PENTABLAKE_4WAY)
|
|
void pentablakehash_4way( void *state, const void *input );
|
|
int scanhash_pentablake_4way( struct work *work,
|
|
uint32_t max_nonce, uint64_t *hashes_done, struct thr_info *mythr );
|
|
#endif
|
|
|
|
void pentablakehash( void *state, const void *input );
|
|
int scanhash_pentablake( struct work *work, uint32_t max_nonce,
|
|
uint64_t *hashes_done, struct thr_info *mythr );
|
|
#endif
|
|
|