1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

ocl: dynamic load of OpenCL libraries

Support functions from OpenCL 1.1 / OpenCL 1.2
This commit is contained in:
Alexander Alekhin
2013-09-15 02:45:02 +04:00
parent 75d89f4331
commit 212ad97100
23 changed files with 975 additions and 54 deletions
@@ -0,0 +1,19 @@
//
// AUTOGENERATED, DO NOT EDIT
//
#ifndef __OPENCV_OCL_CL_RUNTIME_HPP__
#define __OPENCV_OCL_CL_RUNTIME_HPP__
#ifdef HAVE_OPENCL
#if defined(HAVE_OPENCL12)
#include "cl_runtime_opencl12.hpp"
#elif defined(HAVE_OPENCL11)
#include "cl_runtime_opencl11.hpp"
#else
#error Invalid OpenCL configuration
#endif
#endif
#endif // __OPENCV_OCL_CL_RUNTIME_HPP__
@@ -48,11 +48,7 @@
#include "opencv2/ocl/ocl.hpp"
#if defined __APPLE__
#include <OpenCL/opencl.h>
#else
#include <CL/opencl.h>
#endif
#include "opencv2/ocl/cl_runtime/cl_runtime.hpp"
namespace cv
{