Jump to content

OpenCL: Difference between revisions

41 bytes added ,  31 October 2019
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++===