Added new feature: autodetect hash-mode

This commit is contained in:
Gabriele Gristina
2021-06-05 22:11:18 +02:00
parent 918a621506
commit ced9b0c6f8
11 changed files with 352 additions and 6 deletions
+4
View File
@@ -210,6 +210,7 @@ typedef enum status_rc
STATUS_ABORTED_RUNTIME = 11,
STATUS_ERROR = 13,
STATUS_ABORTED_FINISH = 14,
STATUS_AUTODETECT = 16,
} status_rc_t;
@@ -443,6 +444,7 @@ typedef enum opts_type
OPTS_TYPE_MP_MULTI_DISABLE = (1ULL << 52), // do not multiply the kernel-accel with the multiprocessor count per device to allow more fine-tuned workload settings
OPTS_TYPE_NATIVE_THREADS = (1ULL << 53), // forces "native" thread count: CPU=1, GPU-Intel=8, GPU-AMD=64 (wavefront), GPU-NV=32 (warps)
OPTS_TYPE_POST_AMP_UTF16LE = (1ULL << 54), // run the utf8 to utf16le conversion kernel after they have been processed from amplifiers
OPTS_TYPE_AUTODETECT_DISABLE = (1ULL << 55), // skip autodetect engine
} opts_type_t;
@@ -594,6 +596,7 @@ typedef enum user_options_defaults
{
ADVICE_DISABLE = false,
ATTACK_MODE = ATTACK_MODE_STRAIGHT,
AUTODETECT = false,
BENCHMARK_ALL = false,
BENCHMARK = false,
BITMAP_MAX = 18,
@@ -1939,6 +1942,7 @@ typedef struct user_options
char **hc_argv;
bool attack_mode_chgd;
bool autodetect;
#ifdef WITH_BRAIN
bool brain_host_chgd;
bool brain_port_chgd;