5,321
edits
(→C) |
|||
Line 27: | Line 27: | ||
#include <stdlib.h> | #include <stdlib.h> | ||
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS | |||
#ifdef __APPLE__ | #ifdef __APPLE__ | ||
#include <OpenCL/opencl.h> | #include <OpenCL/opencl.h> | ||
Line 135: | Line 136: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===C++=== | ===C++=== |