OLD | NEW |
| (Empty) |
1 /******************************************************************************* | |
2 * Copyright (c) 2008-2010 The Khronos Group Inc. | |
3 * | |
4 * Permission is hereby granted, free of charge, to any person obtaining a | |
5 * copy of this software and/or associated documentation files (the | |
6 * "Materials"), to deal in the Materials without restriction, including | |
7 * without limitation the rights to use, copy, modify, merge, publish, | |
8 * distribute, sublicense, and/or sell copies of the Materials, and to | |
9 * permit persons to whom the Materials are furnished to do so, subject to | |
10 * the following conditions: | |
11 * | |
12 * The above copyright notice and this permission notice shall be included | |
13 * in all copies or substantial portions of the Materials. | |
14 * | |
15 * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | |
19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |
20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |
21 * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | |
22 ******************************************************************************/ | |
23 | |
24 /* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ *
/ | |
25 | |
26 #ifndef __OPENCL_H | |
27 #define __OPENCL_H | |
28 | |
29 #ifdef __cplusplus | |
30 extern "C" { | |
31 #endif | |
32 | |
33 #ifdef __APPLE__ | |
34 | |
35 #include <OpenCL/cl.h> | |
36 #include <OpenCL/cl_gl.h> | |
37 #include <OpenCL/cl_gl_ext.h> | |
38 #include <OpenCL/cl_ext.h> | |
39 | |
40 #else | |
41 | |
42 #include <CL/cl.h> | |
43 #include <CL/cl_gl.h> | |
44 #include <CL/cl_gl_ext.h> | |
45 #include <CL/cl_ext.h> | |
46 | |
47 #endif | |
48 | |
49 #ifdef __cplusplus | |
50 } | |
51 #endif | |
52 | |
53 #endif /* __OPENCL_H */ | |
54 | |
OLD | NEW |