Add support for latest OpenCL headers from Khronos

This commit is contained in:
Jens Steube
2018-10-14 12:39:11 +02:00
parent 8452930795
commit 6f8b90a11a
5 changed files with 7 additions and 2 deletions
+3
View File
@@ -1,3 +1,6 @@
[submodule "deps/OpenCL-Headers/CL"]
path = deps/OpenCL-Headers/CL
url = https://github.com/KhronosGroup/OpenCL-Headers.git
[submodule "OpenCL-Headers"]
path = deps/git/OpenCL-Headers
url = https://github.com/KhronosGroup/OpenCL-Headers.git
Vendored Submodule
+1
Submodule deps/git/OpenCL-Headers added at d516924569
+2
View File
@@ -6,6 +6,8 @@
#ifndef _EXT_OPENCL_H
#define _EXT_OPENCL_H
#define CL_TARGET_OPENCL_VERSION 120
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
+1 -1
View File
@@ -118,7 +118,7 @@ endif # MSYS2
## You have your own headers somewhere, for example: apt-get install opencl-headers
##
OPENCL_HEADERS_KHRONOS := deps/OpenCL-Headers
OPENCL_HEADERS_KHRONOS := deps/git/OpenCL-Headers
##
## Cross compiler paths