Add inner2_loop()
This commit is contained in:
@@ -42,6 +42,7 @@ void opencl_ctx_destroy (opencl_ctx_t *opencl_ctx);
|
||||
int opencl_ctx_devices_init (opencl_ctx_t *opencl_ctx, const user_options_t *user_options);
|
||||
void opencl_ctx_devices_destroy (opencl_ctx_t *opencl_ctx);
|
||||
void opencl_ctx_devices_update_power (opencl_ctx_t *opencl_ctx, const user_options_t *user_options, const user_options_extra_t *user_options_extra);
|
||||
void opencl_ctx_devices_kernel_loops (opencl_ctx_t *opencl_ctx, const user_options_extra_t *user_options_extra, const hashconfig_t *hashconfig, const hashes_t *hashes, straight_ctx_t *straight_ctx, combinator_ctx_t *combinator_ctx, mask_ctx_t *mask_ctx);
|
||||
|
||||
int opencl_session_begin (opencl_ctx_t *opencl_ctx, hashconfig_t *hashconfig, const hashes_t *hashes, const straight_ctx_t *straight_ctx, const user_options_t *user_options, const user_options_extra_t *user_options_extra, const folder_config_t *folder_config, const bitmap_ctx_t *bitmap_ctx, const tuning_db_t *tuning_db);
|
||||
void opencl_session_destroy (opencl_ctx_t *opencl_ctx);
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#define INCR_DICTS 1000
|
||||
|
||||
int straight_ctx_init (straight_ctx_t *straight_ctx, const user_options_t *user_options);
|
||||
void straight_ctx_destroy (straight_ctx_t *straight_ctx);
|
||||
|
||||
void straight_append_dict (straight_ctx_t *straight_ctx, const char *dict);
|
||||
|
||||
#endif // _STRAIGHT_H
|
||||
|
||||
+10
-11
@@ -1129,6 +1129,7 @@ typedef struct
|
||||
|
||||
char **induction_dictionaries;
|
||||
int induction_dictionaries_cnt;
|
||||
int induction_dictionaries_pos;
|
||||
|
||||
} induct_ctx_t;
|
||||
|
||||
@@ -1144,19 +1145,24 @@ typedef struct
|
||||
{
|
||||
bool enabled;
|
||||
|
||||
char *dictfile;
|
||||
|
||||
u32 kernel_rules_cnt;
|
||||
kernel_rule_t *kernel_rules_buf;
|
||||
|
||||
char **dicts;
|
||||
u32 dicts_pos;
|
||||
u32 dicts_cnt;
|
||||
u32 dicts_avail;
|
||||
|
||||
char *dict;
|
||||
|
||||
} straight_ctx_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
bool enabled;
|
||||
|
||||
char *dictfile1;
|
||||
char *dictfile2;
|
||||
char *dict1;
|
||||
char *dict2;
|
||||
|
||||
u32 combs_mode;
|
||||
u32 combs_cnt;
|
||||
@@ -1253,13 +1259,6 @@ typedef struct
|
||||
time_t cpt_start;
|
||||
u64 cpt_total;
|
||||
|
||||
/**
|
||||
* user
|
||||
*/
|
||||
|
||||
char *dictfile;
|
||||
char *dictfile2;
|
||||
|
||||
/**
|
||||
* status, timer
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user