1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-22 05:31:11 +00:00

OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken

This commit is contained in:
jsteube 2016-12-18 22:35:23 +01:00
parent 24a3aff5ea
commit e4ba40dd7e
2 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@
- Potfile: In v3.10 already, the default potfile suffix changed but the note about was missing. The "hashcat.pot" became "hashcat.potfile"
- Threads: Replaced all calls to strerror() with %m printf() GNU extension to ensure thread safety
- Threads: Replaced all calls to ctime() with ctime_r() to ensure thread safety
- OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken
* changes v3.10 -> v3.20:

View File

@ -2875,6 +2875,8 @@ int opencl_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
#if defined (__linux__)
// AMDGPU-Pro Driver 16.40 and higher
if (atoi (device_param->driver_version) >= 2117) amd_warn = false;
// AMDGPU-Pro Driver 16.50 is known to be broken
if (atoi (device_param->driver_version) == 2236) amd_warn = true;
#elif defined (_WIN)
// AMD Radeon Software 14.9 and higher, should be updated to 15.12
if (atoi (device_param->driver_version) >= 1573) amd_warn = false;