Browse Source

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

nfactor-troky
ckolivas 13 years ago
parent
commit
b34e483e96
  1. 1
      phatk120203.cl

1
phatk120203.cl

@ -83,6 +83,7 @@ __constant uint H[8] = { @@ -83,6 +83,7 @@ __constant uint H[8] = {
#else // BITALIGN
#define Ch(x, y, z) (z ^ (x & (y ^ 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))
#endif

Loading…
Cancel
Save