--- trunk/src/lib/common/eigen3x3.c 2012/07/27 23:50:39 1984 +++ trunk/src/lib/common/eigen3x3.c 2012/07/27 23:51:22 1985 @@ -42,17 +42,6 @@ #define SUB(v,i) (((Diderot_union3_t)(v)).r[i]) -// OpenCL 1.0 does not specify the C representation of the host types -// for OpenCL vector types (e.g., cl_float4), so we have to handle this -// mechanism with a macro. -#if defined(CL_HOST_VECTORS_ARE_STRUCTS) -# define VSUB(v,i) (v).s[i] -#elif defined(CL_HOST_VECTORS_ARE_ARRAYS) -# define VSUB(v,i) (v)[i] -#else -# error unable to access elements of host vectors -#endif - /* ** All the three given vectors span only a 2D space, and this finds ** the normal to that plane. Simply sums up all the pair-wise