1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Update minimum HIP version from 4.4 to upcoming 4.5

This commit is contained in:
Jens Steube 2021-10-19 19:26:10 +02:00
parent 8f41c346ef
commit 576a71af5c

View File

@ -7091,7 +7091,7 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
if (hip_runtimeVersion < 1000)
{
if (hip_runtimeVersion < 404)
if (hip_runtimeVersion < 405)
{
event_log_warning (hashcat_ctx, "Unsupported AMD HIP runtime version '%d.%d' detected! Falling back to OpenCL...", hip_runtimeVersion / 100, hip_runtimeVersion % 10);
event_log_warning (hashcat_ctx, NULL);
@ -7115,7 +7115,7 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
}
else
{
if (hip_runtimeVersion < 40400000)
if (hip_runtimeVersion < 40500000)
{
int hip_version_major = (hip_runtimeVersion - 0) / 10000000;
int hip_version_minor = (hip_runtimeVersion - (hip_version_major * 10000000)) / 100000;