1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Do not show HIPRTC notice if HIP is not installed. In that case we can assume the system doesn't have an AMD GPU

This commit is contained in:
jsteube 2023-09-26 08:52:46 +00:00
parent 2093f1b8fc
commit 0d0a07012c

View File

@ -4396,7 +4396,10 @@ int backend_ctx_init (hashcat_ctx_t *hashcat_ctx)
backend_ctx->rc_hiprtc_init = rc_hiprtc_init;
hiprtc_close (hashcat_ctx);
}
if ((rc_hip_init == 0) && (rc_hiprtc_init == -1))
{
#if defined (_WIN)
event_log_warning (hashcat_ctx, "Support for HIPRTC was dropped by AMD Adrenalin Edition 22.7.1 and later.");
event_log_warning (hashcat_ctx, "This is not a hashcat problem.");