mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
Update minimum HIP version from 4.4 to upcoming 4.5
This commit is contained in:
parent
8f41c346ef
commit
576a71af5c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user