Path: blob/master/3rdparty/include/opencl/1.2/CL/opencl.h
16348 views
/*******************************************************************************1* Copyright (c) 2008-2012 The Khronos Group Inc.2*3* Permission is hereby granted, free of charge, to any person obtaining a4* copy of this software and/or associated documentation files (the5* "Materials"), to deal in the Materials without restriction, including6* without limitation the rights to use, copy, modify, merge, publish,7* distribute, sublicense, and/or sell copies of the Materials, and to8* permit persons to whom the Materials are furnished to do so, subject to9* the following conditions:10*11* The above copyright notice and this permission notice shall be included12* in all copies or substantial portions of the Materials.13*14* THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,15* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF16* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.17* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY18* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,19* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE20* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.21******************************************************************************/2223/* $Revision: 11708 $ on $Date: 2010-06-13 23:36:24 -0700 (Sun, 13 Jun 2010) $ */2425#ifndef __OPENCL_H26#define __OPENCL_H2728#ifdef __cplusplus29extern "C" {30#endif3132#ifdef __APPLE__3334#include <OpenCL/cl.h>35#include <OpenCL/cl_gl.h>36#include <OpenCL/cl_gl_ext.h>37#include <OpenCL/cl_ext.h>3839#else4041#include <CL/cl.h>42#include <CL/cl_gl.h>43#include <CL/cl_gl_ext.h>44#include <CL/cl_ext.h>4546#endif4748#ifdef __cplusplus49}50#endif5152#endif /* __OPENCL_H */53545556