1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

Convert #if to #ifdef in diablo .cl.

This commit is contained in:
ckolivas 2012-02-10 14:42:47 +11:00 committed by Con Kolivas
parent 59d3d0112b
commit 451b82df97

View File

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