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