mirror of
https://github.com/hashcat/hashcat
synced 2024-12-01 20:18:12 +01:00
Add better detection future HIP 4.4
This commit is contained in:
parent
c08ad6f587
commit
733f9c2d77
@ -7113,9 +7113,8 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// we need to wait for 4.4 to be released to continue here
|
if (hip_runtimeVersion < 40400000)
|
||||||
// ignore this backend
|
{
|
||||||
|
|
||||||
int hip_version_major = (hip_runtimeVersion - 0) / 10000000;
|
int hip_version_major = (hip_runtimeVersion - 0) / 10000000;
|
||||||
int hip_version_minor = (hip_runtimeVersion - (hip_version_major * 10000000)) / 100000;
|
int hip_version_minor = (hip_runtimeVersion - (hip_version_major * 10000000)) / 100000;
|
||||||
int hip_version_patch = (hip_runtimeVersion - (hip_version_major * 10000000) - (hip_version_minor * 100000));
|
int hip_version_patch = (hip_runtimeVersion - (hip_version_major * 10000000) - (hip_version_minor * 100000));
|
||||||
@ -7137,6 +7136,7 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
// hiprtc_close (hashcat_ctx);
|
// hiprtc_close (hashcat_ctx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rc_hip_init = -1;
|
rc_hip_init = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user