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

pull/3884/head
jsteube 7 months ago
parent 2093f1b8fc
commit 0d0a07012c

@ -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.");

Loading…
Cancel
Save