Browse Source

Convert #if to #ifdef in diablo .cl.

nfactor-troky
ckolivas 13 years ago
parent
commit
467ba35275
  1. 4
      DiabloMiner120210.cl

4
DiabloMiner120210.cl

@ -18,14 +18,14 @@
typedef uint z; typedef uint z;
#if BITALIGN #ifdef BITALIGN
#pragma OPENCL EXTENSION cl_amd_media_ops : enable #pragma OPENCL EXTENSION cl_amd_media_ops : enable
#define Zrotr(a, b) amd_bitalign((z)a, (z)a, (z)(32 - b)) #define Zrotr(a, b) amd_bitalign((z)a, (z)a, (z)(32 - b))
#else #else
#define Zrotr(a, b) rotate((z)a, (z)b) #define Zrotr(a, b) rotate((z)a, (z)b)
#endif #endif
#if BFI_INT #ifdef BFI_INT
#define ZCh(a, b, c) amd_bytealign(a, b, c) #define ZCh(a, b, c) amd_bytealign(a, b, c)
#define ZMa(a, b, c) amd_bytealign((c ^ a), (b), (a)) #define ZMa(a, b, c) amd_bytealign((c ^ a), (b), (a))
#else #else

Loading…
Cancel
Save