First, Eclipse syntax syntax is programmed in C and C ++ grammar, not OpenCL, so it does not know OpenCL syntax extensions such as
, , .
#define __kernel
#define __global
, ,
#define float2 float
#defines , OpenCL, Eclipse. Eclipse .
#ifndef __OPENCL_VERSION__
#endif
, Eclipse.
- CDT ( Eclipse, , , ), OpenCL, .