mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
ocl: OpenCL headers are located in "CL" subfolder (3rdparty/include)
This commit is contained in:
parent
2c4ed7f8a5
commit
87bbaa2c27
@ -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
|
||||||
|
@ -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 @@
|
|||||||
#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 @@
|
|||||||
|
|
||||||
@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 @@
|
|||||||
|
|
||||||
@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@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user