From b618a72bd78263360a65923229a2b86e9a80e298 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sat, 16 Nov 2019 21:09:56 +0100 Subject: [PATCH] Update accel and thread modifiers for -m 21700 and -m 21800 --- src/modules/module_21700.c | 4 ++-- src/modules/module_21800.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/module_21700.c b/src/modules/module_21700.c index 277eb9af5..c6fa73ecd 100644 --- a/src/modules/module_21700.c +++ b/src/modules/module_21700.c @@ -82,8 +82,8 @@ typedef struct electrum_hook_salt static const char *SIGNATURE_ELECTRUM = "$electrum$4*"; -#define M21700_MAX_ACCEL 1 -#define M21700_MAX_THREADS 8 +#define M21700_MAX_ACCEL 16 +#define M21700_MAX_THREADS 64 u32 module_kernel_accel_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { diff --git a/src/modules/module_21800.c b/src/modules/module_21800.c index 0b7550087..30d3a4d1d 100644 --- a/src/modules/module_21800.c +++ b/src/modules/module_21800.c @@ -79,8 +79,8 @@ typedef struct electrum_hook_salt static const char *SIGNATURE_ELECTRUM = "$electrum$5*"; -#define M21800_MAX_ACCEL 1 -#define M21800_MAX_THREADS 8 +#define M21800_MAX_ACCEL 16 +#define M21800_MAX_THREADS 64 u32 module_kernel_accel_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) {