Improve handling of temporary skipped devices (due to JiT build failure or unstable_warning)

This commit is contained in:
jsteube
2019-03-04 10:29:57 +01:00
parent a9bafb7edb
commit 1537fc4e5d
10 changed files with 126 additions and 38 deletions

View File

@@ -20,6 +20,7 @@ void format_speed_display_1k (double val, char *buf, size_t len);
int status_get_device_info_cnt (const hashcat_ctx_t *hashcat_ctx);
int status_get_device_info_active (const hashcat_ctx_t *hashcat_ctx);
bool status_get_skipped_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
bool status_get_skipped_warning_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
char *status_get_session (const hashcat_ctx_t *hashcat_ctx);
const char *status_get_status_string (const hashcat_ctx_t *hashcat_ctx);
int status_get_status_number (const hashcat_ctx_t *hashcat_ctx);

View File

@@ -1048,10 +1048,10 @@ typedef struct hc_device_param
cl_device_type device_type;
u32 device_id;
u32 platform_devices_id; // for mapping with hms devices
u32 platform_devices_id; // for mapping with hms devices
bool skipped;
bool unstable_warning;
bool skipped; // permanent
bool skipped_warning; // iteration
st_status_t st_status;
@@ -2020,6 +2020,7 @@ typedef struct cpt_ctx
typedef struct device_info
{
bool skipped_dev;
bool skipped_warning_dev;
double hashes_msec_dev;
double hashes_msec_dev_benchmark;
double exec_msec_dev;