mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-05 11:34:16 +00:00
Use correct variable on output in diakgcn kernel.
This commit is contained in:
parent
53d33c753f
commit
5eab0e76aa
@ -590,13 +590,13 @@ __kernel
|
|||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
if (!V[7].x)
|
if (!V[7].x)
|
||||||
output[FOUND] = output[NFLAG & W[3].x] = W[3].x;
|
output[FOUND] = output[NFLAG & nonce.x] = nonce.x;
|
||||||
if (!V[7].y)
|
if (!V[7].y)
|
||||||
output[FOUND] = output[NFLAG & W[3].y] = W[3].y;
|
output[FOUND] = output[NFLAG & nonce.y] = nonce.y;
|
||||||
if (!V[7].z)
|
if (!V[7].z)
|
||||||
output[FOUND] = output[NFLAG & W[3].z] = W[3].z;
|
output[FOUND] = output[NFLAG & nonce.z] = nonce.z;
|
||||||
if (!V[7].w)
|
if (!V[7].w)
|
||||||
output[FOUND] = output[NFLAG & W[3].w] = W[3].w;
|
output[FOUND] = output[NFLAG & nonce.w] = nonce.w;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#ifdef VECTORS2
|
#ifdef VECTORS2
|
||||||
@ -606,13 +606,13 @@ __kernel
|
|||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
if (!V[7].x)
|
if (!V[7].x)
|
||||||
output[FOUND] = output[NFLAG & W[3].x] = W[3].x;
|
output[FOUND] = output[NFLAG & nonce.x] = nonce.x;
|
||||||
if (!V[7].y)
|
if (!V[7].y)
|
||||||
output[FOUND] = output[NFLAG & W[3].y] = W[3].y;
|
output[FOUND] = output[NFLAG & nonce.y] = nonce.y;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (V[7] == 0x136032ed)
|
if (V[7] == 0x136032ed)
|
||||||
output[FOUND] = output[NFLAG & W[3]] = W[3];
|
output[FOUND] = output[NFLAG & nonce] = nonce;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user