mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 06:38:11 +00:00
Add support for latest OpenCL headers from Khronos
This commit is contained in:
parent
8452930795
commit
6f8b90a11a
3
.gitmodules
vendored
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
deps/OpenCL-Headers/CL
vendored
1
deps/OpenCL-Headers/CL
vendored
@ -1 +0,0 @@
|
||||
Subproject commit bf0f43b76f4556c3d5717f8ba8a01216b27f4af7
|
1
deps/git/OpenCL-Headers
vendored
Submodule
1
deps/git/OpenCL-Headers
vendored
Submodule
@ -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…
Reference in New Issue
Block a user