Print module_extra_tuningdb_block undefined compute device warning only on GPU
This commit is contained in:
parent
f1bcb6e059
commit
df6e5480ca
@ -11012,6 +11012,8 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
|
||||
const u32 _kernel_accel = tuningdb_entry->kernel_accel;
|
||||
|
||||
if (_kernel_accel == (u32) -1) // native, makes sense if OPTS_TYPE_MP_MULTI_DISABLE is used
|
||||
{
|
||||
if (device_param->opencl_device_type & CL_DEVICE_TYPE_GPU)
|
||||
{
|
||||
if (module_ctx->module_extra_tuningdb_block != MODULE_DEFAULT)
|
||||
{
|
||||
@ -11027,6 +11029,7 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
|
||||
event_log_warning (hashcat_ctx, "Also, consider sending a PR to Hashcat Master so that other users can benefit from your work.");
|
||||
event_log_warning (hashcat_ctx, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
device_param->kernel_accel_min = device_param->device_processors;
|
||||
device_param->kernel_accel_max = device_param->device_processors;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user