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