Add support for latest OpenCL headers from Khronos

pull/1717/head
Jens Steube 6 years ago
parent 8452930795
commit 6f8b90a11a

3
.gitmodules vendored

@ -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

@ -1 +0,0 @@
Subproject commit bf0f43b76f4556c3d5717f8ba8a01216b27f4af7

@ -0,0 +1 @@
Subproject commit d5169245693563d4c69434ba061d92d3d68c4123

@ -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

@ -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

Loading…
Cancel
Save