summaryrefslogtreecommitdiffstats
path: root/include/CL/opencl.h
diff options
context:
space:
mode:
authorPierre Moreau <[email protected]>2018-01-28 11:38:46 +0100
committerKarol Herbst <[email protected]>2019-02-26 21:02:07 +0100
commitdddc5649bfa919713cfdae61fd3f4e756a40873c (patch)
treee9cdb27273f834c1724fb7c99542504eeab182f4 /include/CL/opencl.h
parent2ae07830e74549e3b5ff89ecb40feb595786aaa8 (diff)
include/CL: Update to the latest OpenCL 2.2 headers
Acked-by: Francisco Jerez <[email protected]> Reviewed-by: Karol Herbst <[email protected]>
Diffstat (limited to 'include/CL/opencl.h')
-rw-r--r--include/CL/opencl.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/include/CL/opencl.h b/include/CL/opencl.h
index 3f00524719b..143d1d2dc67 100644
--- a/include/CL/opencl.h
+++ b/include/CL/opencl.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008-2012 The Khronos Group Inc.
+ * Copyright (c) 2008-2015 The Khronos Group Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and/or associated documentation files (the
@@ -12,6 +12,11 @@
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Materials.
*
+ * MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
+ * KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
+ * SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
+ * https://www.khronos.org/registry/
+ *
* THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
@@ -30,25 +35,13 @@
extern "C" {
#endif
-#ifdef __APPLE__
-
-#include <OpenCL/cl.h>
-#include <OpenCL/cl_gl.h>
-#include <OpenCL/cl_gl_ext.h>
-#include <OpenCL/cl_ext.h>
-
-#else
-
#include <CL/cl.h>
#include <CL/cl_gl.h>
#include <CL/cl_gl_ext.h>
#include <CL/cl_ext.h>
-#endif
-
#ifdef __cplusplus
}
#endif
#endif /* __OPENCL_H */
-