From 9e8b7a1d9a2c369f5208a27c8c8e49b4618c6340 Mon Sep 17 00:00:00 2001 From: Fist0urs Date: Mon, 18 Apr 2016 18:04:39 +0200 Subject: [PATCH 1/2] -m 13400 Increased max kdb size to 300KB --- OpenCL/types_ocl.c | 2 +- include/shared.h | 2 +- include/types.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenCL/types_ocl.c b/OpenCL/types_ocl.c index 3a57b1266..17e3d694c 100644 --- a/OpenCL/types_ocl.c +++ b/OpenCL/types_ocl.c @@ -1612,7 +1612,7 @@ typedef struct /* specific to version 1 */ u32 contents_len; - u32 contents[12500]; + u32 contents[75000]; /* specific to version 2 */ u32 expected_bytes[8]; diff --git a/include/shared.h b/include/shared.h index f0eefd67b..9328a8871 100644 --- a/include/shared.h +++ b/include/shared.h @@ -689,7 +689,7 @@ extern hc_thread_mutex_t mux_display; #define DISPLAY_LEN_MIN_13300 1 + 12 + 1 + 32 #define DISPLAY_LEN_MAX_13300 1 + 12 + 1 + 40 #define DISPLAY_LEN_MIN_13400 1 + 7 + 1 + 1 + 1 + 1 + 1 + 1 + 32 + 1 + 64 + 1 + 32 + 1 + 64 + 1 + 1 + 1 + 1 -#define DISPLAY_LEN_MAX_13400 1 + 7 + 1 + 1 + 10 + 1 + 3 + 1 + 64 + 1 + 64 + 1 + 32 + 1 + 64 + 1 + 4 + 1 + 100000 + 1 + 2 + 1 + 64 +#define DISPLAY_LEN_MAX_13400 1 + 7 + 1 + 1 + 10 + 1 + 3 + 1 + 64 + 1 + 64 + 1 + 32 + 1 + 64 + 1 + 4 + 1 + 600000 + 1 + 2 + 1 + 64 #define DISPLAY_LEN_MIN_11 32 + 1 + 16 #define DISPLAY_LEN_MAX_11 32 + 1 + 32 diff --git a/include/types.h b/include/types.h index 3306aeeeb..476669639 100644 --- a/include/types.h +++ b/include/types.h @@ -156,7 +156,7 @@ typedef struct /* specific to version 1 */ u32 contents_len; - u32 contents[12500]; + u32 contents[75000]; /* specific to version 2 */ u32 expected_bytes[8]; From 2ce6fb997debe037078594bb8a25961e074db1c4 Mon Sep 17 00:00:00 2001 From: Fist0urs Date: Mon, 18 Apr 2016 18:40:13 +0200 Subject: [PATCH 2/2] Increase max size of input line to 0x50000 --- include/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/common.h b/include/common.h index 079d7d57a..278f63ad4 100644 --- a/include/common.h +++ b/include/common.h @@ -106,7 +106,7 @@ typedef uint32_t uint; // we need to get rid of this sooner or later, for consis #define SPEED_CACHE 128 #define SPEED_MAXAGE 4096 -#define HCBUFSIZ 0x10000 // general large space buffer size in case the size is unknown at compile-time +#define HCBUFSIZ 0x50000 // general large space buffer size in case the size is unknown at compile-time /** * functions