1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 23:37:54 +00:00

Convert #if to #ifdef in diablo .cl.

This commit is contained in:
ckolivas 2012-02-10 14:42:47 +11:00
parent 2270b4e053
commit 467ba35275

View File

@ -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