1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

AMD Driver: Updated requirements for AMD Linux drivers to ROCm 5.2.1 or later due to new HIP interface

This commit is contained in:
Jens Steube 2022-08-10 19:19:34 +02:00
parent 0e813cbe84
commit 3d898c5daf
4 changed files with 8 additions and 8 deletions

View File

@ -76,7 +76,7 @@
## Technical
##
- AMD Driver: Updated requirements for AMD Linux drivers to ROCm 5.1.1 or later due to new HIP interface
- AMD Driver: Updated requirements for AMD Linux drivers to ROCm 5.2.1 or later due to new HIP interface
- AMD Driver: Updated requirements for AMD Windows drivers to Adrenalin 22.3.1 or later due to new HIP interface
- Association Attack: Enable module specific pw_min and pw_max settings to avoid false positives in -a 9 attack-mode
- Autotune: Added error handling. By default skipping device on error, with --force using accel/loops/threads min values instead

View File

@ -10,7 +10,7 @@
hashcat v6.2.5
==============
AMD GPUs on Linux require "AMD ROCm" (5.1.1 or later)
AMD GPUs on Linux require "AMD ROCm" (5.2.1 or later)
AMD GPUs on Windows require "AMD Adrenalin Edition" (22.3.1 or later)
Intel CPUs require "OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
NVIDIA GPUs require "NVIDIA Driver" (440.64 or later) and "CUDA Toolkit" (9.0 or later)

View File

@ -4434,8 +4434,8 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
// hiprtc_close (hashcat_ctx);
}
#else
// 511 is ok
if (hip_runtimeVersion < 50120531)
// 521 is ok
if (hip_runtimeVersion < 50221151)
{
int hip_version_major = (hip_runtimeVersion - 0) / 10000000;
int hip_version_minor = (hip_runtimeVersion - (hip_version_major * 10000000)) / 100000;
@ -4548,7 +4548,7 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
#if defined (__linux__)
event_log_warning (hashcat_ctx, "* AMD GPUs on Linux require this driver:");
event_log_warning (hashcat_ctx, " \"AMD ROCm\" (5.1.1 or later)");
event_log_warning (hashcat_ctx, " \"AMD ROCm\" (5.2.1 or later)");
#elif defined (_WIN)
event_log_warning (hashcat_ctx, "* AMD GPUs on Windows require this driver:");
event_log_warning (hashcat_ctx, " \"AMD Adrenalin Edition\" (22.3.1 or later)");
@ -4885,7 +4885,7 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
#if defined (__linux__)
event_log_warning (hashcat_ctx, "* AMD GPUs on Linux require this driver:");
event_log_warning (hashcat_ctx, " \"AMD ROCm\" (5.1.1 or later)");
event_log_warning (hashcat_ctx, " \"AMD ROCm\" (5.2.1 or later)");
#elif defined (_WIN)
event_log_warning (hashcat_ctx, "* AMD GPUs on Windows require this driver:");
event_log_warning (hashcat_ctx, " \"AMD Adrenalin Edition\" (22.3.1 or later)");

View File

@ -178,11 +178,11 @@ char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
{
if ((user_options->attack_mode == ATTACK_MODE_BF) && (hashes->salts_cnt == 1) && (user_options->slow_candidates == false))
{
hc_asprintf (&jit_build_options, "-D DESCRYPT_SALT=%u -D _unroll -fno-experimental-new-pass-manager", hashes->salts_buf[0].salt_buf[0] & 0xfff);
hc_asprintf (&jit_build_options, "-D DESCRYPT_SALT=%u -D _unroll -flegacy-pass-manager", hashes->salts_buf[0].salt_buf[0] & 0xfff);
}
else
{
hc_asprintf (&jit_build_options, "-D _unroll -fno-experimental-new-pass-manager");
hc_asprintf (&jit_build_options, "-D _unroll -flegacy-pass-manager");
}
}
else