| 12345678910111213141516 |
- #ifndef __FINDNONCE_H__
- #define __FINDNONCE_H__
- #include "miner.h"
- #include "config.h"
- #define MAXTHREADS (0xFFFFFFFEULL)
- /* Maximum worksize 4k to match page size */
- #define MAXBUFFERS (4095)
- #define BUFFERSIZE (sizeof(uint32_t) * (MAXBUFFERS + 1))
- #define OUTBUFFERS (0xFF)
- #ifdef HAVE_OPENCL
- extern void precalc_hash(dev_blk_ctx *blk, uint32_t *state, uint32_t *data);
- extern void postcalc_hash_async(struct thr_info *thr, struct work *work, uint32_t *res);
- #endif /* HAVE_OPENCL */
- #endif /*__FINDNONCE_H__*/
|