opencl12.cpp 191 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #if defined __APPLE__ #include <OpenCL/cl.h> #else #include <CL/cl.h> #endif int main(int argc, char** argv) { #ifdef CL_VERSION_1_2 #else #error OpenCL 1.2 not found #endif return 0; }