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

This commit is contained in:
Alexander Alekhin 2016-02-04 11:55:00 +03:00
parent 2c4ed7f8a5
commit 87bbaa2c27
5 changed files with 1 additions and 20 deletions

View File

@ -1,8 +1,5 @@
#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

View File

@ -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

View File

@ -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

View File

@ -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@

View File

@ -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@