From 27f130ea90cc76bc1f1e4d559a2974e474939911 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sat, 13 Apr 2019 14:47:41 +0200 Subject: [PATCH] Kernel Cache: Reactivate OpenCL runtime specific kernel caches --- docs/changes.txt | 2 ++ src/shared.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index f7cc50105..3a1ab3c27 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -56,6 +56,7 @@ - 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 - OpenCL Runtime: Workaround JiT compiler error on ROCM 2.3 driver if the 'inline' keyword is used in function declaration +- OpenCL Runtime: Workaround memory allocation error on AMD driver on Windows leading to CL_MEM_OBJECT_ALLOCATION_FAILURE - Tuning Database: Updated hashcat.hctune with new models and refreshed vector width values - WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes @@ -65,6 +66,7 @@ - Binary Distribution: Removed 32 bit binary executables - Keep Guessing: No longer automatically activate --keep-guessing for modes 9720, 9820, 14900 and 18100 +- Kernel Cache: Reactivate OpenCL runtime specific kernel caches - Mode 16800/16801 hash format: Changed separator character from '*' to ':' * changes v5.0.0 -> v5.1.0 diff --git a/src/shared.c b/src/shared.c index 930e93024..1ac5d9f75 100644 --- a/src/shared.c +++ b/src/shared.c @@ -486,6 +486,7 @@ void setup_environment_variables () putenv ((char *) "DISPLAY=:0"); } + /* if (getenv ("OCL_CODE_CACHE_ENABLE") == NULL) putenv ((char *) "OCL_CODE_CACHE_ENABLE=0"); @@ -494,6 +495,7 @@ void setup_environment_variables () if (getenv ("POCL_KERNEL_CACHE") == NULL) putenv ((char *) "POCL_KERNEL_CACHE=0"); + */ if (getenv ("CL_CONFIG_USE_VECTORIZER") == NULL) putenv ((char *) "CL_CONFIG_USE_VECTORIZER=False");