Revert "Fixed a bug where oclHashcat rejected to load a rule which calls 15 functions although it is supported"

This reverts commit f230ed73dc.

Some kernel require too much constant memory and do not compile anymore
This commit is contained in:
Jens Steube
2015-12-13 18:46:21 +01:00
parent f230ed73dc
commit 586441fa25
7 changed files with 12 additions and 23 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ extern int max_len;
#define SET_NAME(rule,val) (rule)->cmds[rule_cnt] = ((val) & 0xff) << 0
#define SET_P0(rule,val) INCR_POS; (rule)->cmds[rule_cnt] |= ((val) & 0xff) << 8
#define SET_P1(rule,val) INCR_POS; (rule)->cmds[rule_cnt] |= ((val) & 0xff) << 16
#define MAX_GPU_RULES 15
#define MAX_GPU_RULES 14
#define GET_NAME(rule) rule_cmd = (((rule)->cmds[rule_cnt] >> 0) & 0xff)
#define GET_P0(rule) INCR_POS; rule_buf[rule_pos] = (((rule)->cmds[rule_cnt] >> 8) & 0xff)
#define GET_P1(rule) INCR_POS; rule_buf[rule_pos] = (((rule)->cmds[rule_cnt] >> 16) & 0xff)
+1 -1
View File
@@ -20,7 +20,7 @@ typedef unsigned int uint;
typedef struct
{
uint cmds[16];
uint cmds[15];
} gpu_rule_t;