mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-22 05:31:11 +00:00
Do not show metal disabled warning in backend information mode
This commit is contained in:
parent
5c7da42797
commit
c6a7826d12
@ -6230,9 +6230,12 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
|
||||
{
|
||||
if (backend_ctx->backend_devices_filter == -1ULL)
|
||||
{
|
||||
event_log_warning (hashcat_ctx, "The device #%d has been disabled as it most likely also exists as an OpenCL device, but it is not possible to automatically map it.", device_id + 1);
|
||||
event_log_warning (hashcat_ctx, "You can use -d #%d to use Metal API instead of OpenCL API. In some rare cases this is more stable.", device_id + 1);
|
||||
event_log_warning (hashcat_ctx, NULL);
|
||||
if (user_options->backend_info == 0)
|
||||
{
|
||||
event_log_warning (hashcat_ctx, "The device #%d has been disabled as it most likely also exists as an OpenCL device, but it is not possible to automatically map it.", device_id + 1);
|
||||
event_log_warning (hashcat_ctx, "You can use -d #%d to use Metal API instead of OpenCL API. In some rare cases this is more stable.", device_id + 1);
|
||||
event_log_warning (hashcat_ctx, NULL);
|
||||
}
|
||||
|
||||
device_param->skipped = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user