Browse Source

The worksize was unintentionally changed back to 4k by mistake, this caused a slowdown.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
02e126f42d
  1. 3
      findnonce.h

3
findnonce.h

@ -4,8 +4,7 @@
#include "config.h" #include "config.h"
#define MAXTHREADS (0xFFFFFFFEULL) #define MAXTHREADS (0xFFFFFFFEULL)
/* Maximum worksize 4k to match page size */ #define MAXBUFFERS (0xFF)
#define MAXBUFFERS (0xFFFF)
#define BUFFERSIZE (sizeof(uint32_t) * MAXBUFFERS) #define BUFFERSIZE (sizeof(uint32_t) * MAXBUFFERS)
#define FOUND (0x80) #define FOUND (0x80)
/* #define NFLAG (0x7F) Just for reference */ /* #define NFLAG (0x7F) Just for reference */

Loading…
Cancel
Save