diff --git a/diablo120328.cl b/diablo120328.cl index e9d2d87f..4b64c300 100644 --- a/diablo120328.cl +++ b/diablo120328.cl @@ -1242,8 +1242,8 @@ void search( ZA[924] = (ZCh(ZA[922], ZA[920], ZA[918]) + ZA[923]) + ZR26(ZA[922]); -#define FOUND (0x80) -#define NFLAG (0x7F) +#define FOUND (0x800) +#define NFLAG (0x7FF) #if defined(VECTORS4) bool result = any(ZA[924] == 0x136032EDU); diff --git a/diakgcn120427.cl b/diakgcn120427.cl index 37d51c51..7dd73fb9 100644 --- a/diakgcn120427.cl +++ b/diakgcn120427.cl @@ -571,8 +571,8 @@ __kernel V[7] += V[3] + W[12] + ch(V[0], V[1], V[2]) + rotr26(V[0]); -#define FOUND (0x80) -#define NFLAG (0x7F) +#define FOUND (0x800) +#define NFLAG (0x7FF) #ifdef VECTORS4 if ((V[7].x == 0x136032edU) ^ (V[7].y == 0x136032edU) ^ (V[7].z == 0x136032edU) ^ (V[7].w == 0x136032edU)) diff --git a/findnonce.h b/findnonce.h index 5b93c15c..ce69569e 100644 --- a/findnonce.h +++ b/findnonce.h @@ -4,10 +4,10 @@ #include "config.h" #define MAXTHREADS (0xFFFFFFFEULL) -#define MAXBUFFERS (0xFF) +#define MAXBUFFERS (0xFFF) #define BUFFERSIZE (sizeof(uint32_t) * MAXBUFFERS) -#define FOUND (0x80) -/* #define NFLAG (0x7F) Just for reference */ +#define FOUND (0x800) +/* #define NFLAG (0x7FF) Just for reference */ #ifdef HAVE_OPENCL extern void precalc_hash(dev_blk_ctx *blk, uint32_t *state, uint32_t *data); diff --git a/phatk120223.cl b/phatk120223.cl index 7d1c3200..0f604436 100644 --- a/phatk120223.cl +++ b/phatk120223.cl @@ -387,8 +387,8 @@ void search( const uint state0, const uint state1, const uint state2, const uint W[117] += W[108] + Vals[3] + Vals[7] + P2(124) + P1(124) + Ch((Vals[0] + Vals[4]) + (K[59] + W(59+64)) + s1(64+59)+ ch(59+64),Vals[1],Vals[2]) - (-(K[60] + H[7]) - S1((Vals[0] + Vals[4]) + (K[59] + W(59+64)) + s1(64+59)+ ch(59+64))); -#define FOUND (0x80) -#define NFLAG (0x7F) +#define FOUND (0x800) +#define NFLAG (0x7FF) #ifdef VECTORS4 bool result = W[117].x & W[117].y & W[117].z & W[117].w; diff --git a/poclbm120327.cl b/poclbm120327.cl index 72491a26..3e8b9943 100644 --- a/poclbm120327.cl +++ b/poclbm120327.cl @@ -1311,8 +1311,8 @@ Vals[1]+=(rotr(W[9],17)^rotr(W[9],19)^(W[9]>>10U)); Vals[1]+=K[59]; Vals[1]+=Vals[5]; -#define FOUND (0x80) -#define NFLAG (0x7F) +#define FOUND (0x800) +#define NFLAG (0x7FF) #if defined(VECTORS2) || defined(VECTORS4) Vals[2]+=Ma(Vals[6],Vals[5],Vals[7]); diff --git a/scrypt120713.cl b/scrypt120713.cl index 95b006e9..7aaaa198 100644 --- a/scrypt120713.cl +++ b/scrypt120713.cl @@ -685,8 +685,8 @@ void scrypt_core(uint4 X[8], __global uint4*restrict lookup) unshittify(X); } -#define FOUND (0x80) -#define NFLAG (0x7F) +#define FOUND (0x800) +#define NFLAG (0x7FF) __attribute__((reqd_work_group_size(WORKSIZE, 1, 1))) __kernel void search(__global const uint4 * restrict input,