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:
parent
ebaa2be1df
commit
b34e483e96
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user