From 8f0d69ea9c4a2bfce3d763d9ea46a70b20350679 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Wed, 9 Nov 2022 16:09:57 +0100 Subject: [PATCH] Always assume 8 compute unit for metal GPUs --- src/backend.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend.c b/src/backend.c index 97983b7f0..3c63882e1 100644 --- a/src/backend.c +++ b/src/backend.c @@ -5858,6 +5858,10 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime) continue; } + // this is a hack for sure, but what can we do if they report just 1. + // But 8 is a number that is pretty good since most real values are divisible by 8. + if (device_processors == 1) device_processors = 8; + device_param->device_processors = device_processors; // device_host_unified_memory