1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older ATI).

This commit is contained in:
ckolivas 2012-02-04 09:52:26 +11:00
parent ebaa2be1df
commit b34e483e96

View File

@ -83,6 +83,7 @@ __constant uint H[8] = {
#else // BITALIGN #else // BITALIGN
#define Ch(x, y, z) (z ^ (x & (y ^ z))) #define Ch(x, y, z) (z ^ (x & (y ^ z)))
#define Ma(x, y, z) ((x & z) | (y & (x | z))) #define Ma(x, y, z) ((x & z) | (y & (x | z)))
#define rot(x, y) rotate((u)x, (u)y)
#define rotr(x, y) rotate((u)x, (u)(32-y)) #define rotr(x, y) rotate((u)x, (u)(32-y))
#endif #endif