OpenCL kernel change
This makes it work on my AMD.
This commit is contained in:
parent
e7e245fe25
commit
9335f74c61
|
@ -24,9 +24,8 @@
|
|||
|
||||
|
||||
/// Warning: This version of SWAP64(n) is slow and avoid bugs on AMD GPUs(7970)
|
||||
#define SWAP64(n) as_ulong(as_uchar8(n).s76543210)
|
||||
// #define SWAP64(n) as_ulong(as_uchar8(n).s76543210)
|
||||
|
||||
/*
|
||||
#define SWAP64(n) \
|
||||
(((n) << 56) \
|
||||
| (((n) & 0xff00) << 40) \
|
||||
|
@ -36,7 +35,6 @@
|
|||
| (((n) >> 24) & 0xff0000) \
|
||||
| (((n) >> 40) & 0xff00) \
|
||||
| ((n) >> 56))
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user