00001 #ifndef PARALLEL_DEFINES_H
00002 #define PARALLEL_DEFINES_H
00003
00004 #ifdef dSINGLE
00005 typedef float dReal;
00006 typedef float4 dReal4;
00007 #define make_real3 make_float3
00008 #define make_real4 make_float4
00009 #define dParallelZero 0.0f
00010 #define dParallelInf dxParallelInfF
00011 #elif dDOUBLE
00012 typedef double dReal;
00013 typedef double4 dReal4;
00014 #define make_real3 make_double3
00015 #define make_real4 make_double4
00016 #define dParallelZero 0.0
00017 #define dParallelInf dxParallelInfD
00018 #endif
00019
00020 #endif