Image Component Library (ICL)
ICLUtils
src
ICLUtils
CLIncludes.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#ifdef ICL_HAVE_OPENCL
5
6
#ifdef ICL_HAVE_CL2HPP
7
8
#define CL_HPP_ENABLE_EXCEPTIONS //enables openCL error catching
9
#define CL_HPP_TARGET_OPENCL_VERSION 120
10
// The following is needed to maintain compatibility to 1.2
11
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
12
#define CL_HPP_ENABLE_SIZE_T_COMPATIBILITY
13
14
//#define CL_HPP_NO_STD_UNIQUE_PTR
15
16
#define CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY
17
18
//#define CL_HPP_CL_1_2_DEFAULT_BUILD
19
20
#include <CL/cl2.hpp>
21
//using namespace cl::compatibility;
22
#include <CL/cl.h>
23
24
#else
25
26
#define __CL_ENABLE_EXCEPTIONS //enables openCL error catching
27
#include <CL/cl.h>
28
#include <CL/cl.hpp>
29
#endif
30
#endif // ICL_HAVE_CL2HPP
Generated on Mon May 20 2019 12:00:17 for Image Component Library (ICL) by
1.8.15