OpenCL kernel change

This makes it work on my AMD.
master
mailchuck 7 years ago committed by Peter Surda
parent e7e245fe25
commit 9335f74c61
  1. 4
      src/bitmsghash/bitmsghash.cl

@ -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…
Cancel
Save