From bfd95d42f6f0bf2e8dd765d2a424e60bff8c6e17 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Wed, 27 Nov 2019 10:28:12 +0100 Subject: [PATCH] - OpenCL Runtime: Reenabled support for Intel GPU OpenCL runtime --- docs/changes.txt | 1 + src/backend.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index 66596c268..7e578881f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -97,6 +97,7 @@ - OpenCL Runtime: Do not run a shared- and constant-memory size check if their memory type is of type global memory (typically CPU) - OpenCL Runtime: Improve ROCM detection and make sure to not confuse with recent AMDGPU drivers - OpenCL Runtime: Not using amd_bytealign (amd_bitalign is fine) on AMDGPU driver drastically reduces JiT segfaults +- OpenCL Runtime: Reenabled support for Intel GPU OpenCL runtime - OpenCL Runtime: Unlocked maximum thread count - OpenCL Runtime: Update unstable mode warnings for Apple and AMDGPU drivers - OpenCL Runtime: Workaround JiT compiler error on AMDGPU driver compiling WPA-EAPOL-PBKDF2 OpenCL kernel diff --git a/src/backend.c b/src/backend.c index 1cc3af167..c205ae7d0 100644 --- a/src/backend.c +++ b/src/backend.c @@ -5796,7 +5796,12 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime) // CL_INVALID_COMMAND_QUEUE and CL_OUT_OF_RESOURCES // Turns out that this is caused by Intel OpenCL runtime handling their GPU devices // Disable such devices unless the user forces to use it + // This is successfully workaround with new threading model and new memory management + // Tested on Windows 10 + // OpenCL.Version.: OpenCL C 2.1 + // Driver.Version.: 23.20.16.4973 + /* #if !defined (__APPLE__) if (opencl_device_type & CL_DEVICE_TYPE_GPU) { @@ -5813,6 +5818,7 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime) } } #endif // __APPLE__ + */ // skipped