1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 15:18:16 +00:00

Remove OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND, no longer needed with latest ROCm

This commit is contained in:
jsteube 2017-09-06 16:38:55 +02:00
parent a910aea9e0
commit d05f40ab98
2 changed files with 0 additions and 5 deletions

View File

@ -73,7 +73,6 @@
- OpenCL Kernels: Removed some include functions that are no longer needed to reduce compile time
- OpenCL Runtime: Fall back to 64 threads default (from 256) on AMD GPU to prevent creating too many workitems
- OpenCL Runtime: Forcing OpenCL 1.2 no longer needed. Option removed from build options
- OpenCL Runtime: Set OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND
- Restore: Fixed the version number used in the restore file header
- Time: added new type for time measurements hc_time_t and related functions to force the use of 64 bit times

View File

@ -334,10 +334,6 @@ void setup_environment_variables ()
putenv ((char *) "DISPLAY=:0");
}
//We need to force this
//if (getenv ("AMD_OCL_BUILD_OPTIONS_APPEND") == NULL)
putenv ((char *) "AMD_OCL_BUILD_OPTIONS_APPEND=-O2");
if (getenv ("OCL_CODE_CACHE_ENABLE") == NULL)
putenv ((char *) "OCL_CODE_CACHE_ENABLE=0");