1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

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
.gitmodules vendored
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

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

1
deps/git/OpenCL-Headers vendored Submodule

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

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

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