Reduce max. number of allowed function calls per rule from 256 to 32 to save GPU memory

This commit is contained in:
jsteube
2016-09-22 22:54:20 +02:00
parent 319d548766
commit d3d9b4e679
4 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -680,13 +680,13 @@ typedef struct
{
u32 len;
char buf[0x100];
char buf[32];
} cpu_rule_t;
typedef struct
{
u32 cmds[0x100];
u32 cmds[32];
} kernel_rule_t;
@@ -1034,7 +1034,7 @@ typedef struct
} hc_global_data_t;
#define RULES_MAX 256
#define RULES_MAX 32
#define PW_DICTMAX 31
#define PW_DICTMAX1 (PW_DICTMAX + 1)