Add support for latest OpenCL headers from Khronos
This commit is contained in:
@@ -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
-1
Submodule deps/OpenCL-Headers/CL deleted from bf0f43b76f
+1
Submodule deps/git/OpenCL-Headers added at d516924569
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user