Commit 87bbaa2c authored by Alexander Alekhin's avatar Alexander Alekhin

ocl: OpenCL headers are located in "CL" subfolder (3rdparty/include)

parent 2c4ed7f8
#if defined __APPLE__ // custom OpenCL headers are located in "CL" subfolder (3rdparty/include/...)
#include <OpenCL/cl.h>
#else
#include <CL/cl.h> #include <CL/cl.h>
#endif
#ifndef _MSC_VER #ifndef _MSC_VER
#ifdef CL_VERSION_1_2 #ifdef CL_VERSION_1_2
......
...@@ -95,11 +95,7 @@ ...@@ -95,11 +95,7 @@
#define clUnloadPlatformCompiler clUnloadPlatformCompiler_ #define clUnloadPlatformCompiler clUnloadPlatformCompiler_
#define clWaitForEvents clWaitForEvents_ #define clWaitForEvents clWaitForEvents_
#if defined __APPLE__
#include <OpenCL/cl.h>
#else
#include <CL/cl.h> #include <CL/cl.h>
#endif
// generated by parser_cl.py // generated by parser_cl.py
#undef clBuildProgram #undef clBuildProgram
......
...@@ -17,11 +17,7 @@ ...@@ -17,11 +17,7 @@
#define clGetGLObjectInfo clGetGLObjectInfo_ #define clGetGLObjectInfo clGetGLObjectInfo_
#define clGetGLTextureInfo clGetGLTextureInfo_ #define clGetGLTextureInfo clGetGLTextureInfo_
#if defined __APPLE__
#include <OpenCL/cl_gl.h>
#else
#include <CL/cl_gl.h> #include <CL/cl_gl.h>
#endif
// generated by parser_cl.py // generated by parser_cl.py
#undef clCreateFromGLBuffer #undef clCreateFromGLBuffer
......
...@@ -4,11 +4,7 @@ ...@@ -4,11 +4,7 @@
@CL_REMAP_ORIGIN@ @CL_REMAP_ORIGIN@
#if defined __APPLE__
#include <OpenCL/cl.h>
#else
#include <CL/cl.h> #include <CL/cl.h>
#endif
@CL_REMAP_DYNAMIC@ @CL_REMAP_DYNAMIC@
......
...@@ -4,11 +4,7 @@ ...@@ -4,11 +4,7 @@
@CL_REMAP_ORIGIN@ @CL_REMAP_ORIGIN@
#if defined __APPLE__
#include <OpenCL/cl_gl.h>
#else
#include <CL/cl_gl.h> #include <CL/cl_gl.h>
#endif
@CL_REMAP_DYNAMIC@ @CL_REMAP_DYNAMIC@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment