mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +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:
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;
|
backend_ctx->rc_hiprtc_init = rc_hiprtc_init;
|
||||||
|
|
||||||
hiprtc_close (hashcat_ctx);
|
hiprtc_close (hashcat_ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((rc_hip_init == 0) && (rc_hiprtc_init == -1))
|
||||||
|
{
|
||||||
#if defined (_WIN)
|
#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, "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.");
|
event_log_warning (hashcat_ctx, "This is not a hashcat problem.");
|
||||||
|
Loading…
Reference in New Issue
Block a user