mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Backend Info: Added local memory size to output
This commit is contained in:
parent
eef28013ac
commit
450f9549b4
@ -30,6 +30,7 @@
|
||||
- User Options: Add new module function module_hash_decode_postprocess() to override hash specific configurations from command line
|
||||
- OpenCL Runtime: Added support to use Apple Silicon compute devices
|
||||
- OpenCL Runtime: Set default device-type to GPU with Apple Silicon compute devices
|
||||
- Backend Info: Added local memory size to output
|
||||
|
||||
* changes v6.2.4 -> v6.2.5
|
||||
|
||||
|
@ -785,6 +785,7 @@ void backend_info (hashcat_ctx_t *hashcat_ctx)
|
||||
char *device_name = device_param->device_name;
|
||||
u32 device_processors = device_param->device_processors;
|
||||
u32 device_maxclock_frequency = device_param->device_maxclock_frequency;
|
||||
u64 device_local_mem_size = device_param->device_local_mem_size;
|
||||
u64 device_available_mem = device_param->device_available_mem;
|
||||
u64 device_global_mem = device_param->device_global_mem;
|
||||
u8 pcie_domain = device_param->pcie_domain;
|
||||
@ -806,6 +807,7 @@ void backend_info (hashcat_ctx_t *hashcat_ctx)
|
||||
event_log_info (hashcat_ctx, " Clock..........: %u", device_maxclock_frequency);
|
||||
event_log_info (hashcat_ctx, " Memory.Total...: %" PRIu64 " MB", device_global_mem / 1024 / 1024);
|
||||
event_log_info (hashcat_ctx, " Memory.Free....: %" PRIu64 " MB", device_available_mem / 1024 / 1024);
|
||||
event_log_info (hashcat_ctx, " Local.Memory...: %" PRIu64 " KB", device_local_mem_size / 1024);
|
||||
event_log_info (hashcat_ctx, " PCI.Addr.BDFe..: %04x:%02x:%02x.%d", (u16) pcie_domain, pcie_bus, pcie_device, pcie_function);
|
||||
event_log_info (hashcat_ctx, NULL);
|
||||
}
|
||||
@ -845,6 +847,7 @@ void backend_info (hashcat_ctx_t *hashcat_ctx)
|
||||
char *device_name = device_param->device_name;
|
||||
u32 device_processors = device_param->device_processors;
|
||||
u32 device_maxclock_frequency = device_param->device_maxclock_frequency;
|
||||
u64 device_local_mem_size = device_param->device_local_mem_size;
|
||||
u64 device_available_mem = device_param->device_available_mem;
|
||||
u64 device_global_mem = device_param->device_global_mem;
|
||||
u8 pcie_domain = device_param->pcie_domain;
|
||||
@ -866,6 +869,7 @@ void backend_info (hashcat_ctx_t *hashcat_ctx)
|
||||
event_log_info (hashcat_ctx, " Clock..........: %u", device_maxclock_frequency);
|
||||
event_log_info (hashcat_ctx, " Memory.Total...: %" PRIu64 " MB", device_global_mem / 1024 / 1024);
|
||||
event_log_info (hashcat_ctx, " Memory.Free....: %" PRIu64 " MB", device_available_mem / 1024 / 1024);
|
||||
event_log_info (hashcat_ctx, " Local.Memory...: %" PRIu64 " KB", device_local_mem_size / 1024);
|
||||
event_log_info (hashcat_ctx, " PCI.Addr.BDFe..: %04x:%02x:%02x.%d", (u16) pcie_domain, pcie_bus, pcie_device, pcie_function);
|
||||
event_log_info (hashcat_ctx, NULL);
|
||||
}
|
||||
@ -907,6 +911,7 @@ void backend_info (hashcat_ctx_t *hashcat_ctx)
|
||||
u32 device_processors = device_param->device_processors;
|
||||
u32 device_maxclock_frequency = device_param->device_maxclock_frequency;
|
||||
u64 device_maxmem_alloc = device_param->device_maxmem_alloc;
|
||||
u64 device_local_mem_size = device_param->device_local_mem_size;
|
||||
u64 device_available_mem = device_param->device_available_mem;
|
||||
u64 device_global_mem = device_param->device_global_mem;
|
||||
cl_device_type opencl_device_type = device_param->opencl_device_type;
|
||||
@ -934,6 +939,7 @@ void backend_info (hashcat_ctx_t *hashcat_ctx)
|
||||
event_log_info (hashcat_ctx, " Clock..........: %u", device_maxclock_frequency);
|
||||
event_log_info (hashcat_ctx, " Memory.Total...: %" PRIu64 " MB (limited to %" PRIu64 " MB allocatable in one block)", device_global_mem / 1024 / 1024, device_maxmem_alloc / 1024 / 1024);
|
||||
event_log_info (hashcat_ctx, " Memory.Free....: %" PRIu64 " MB", device_available_mem / 1024 / 1024);
|
||||
event_log_info (hashcat_ctx, " Local.Memory...: %" PRIu64 " KB", device_local_mem_size / 1024);
|
||||
event_log_info (hashcat_ctx, " OpenCL.Version.: %s", opencl_device_c_version);
|
||||
event_log_info (hashcat_ctx, " Driver.Version.: %s", opencl_driver_version);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user