From cbd1c160031ce8d2d3e75493ff8f341fa42bbf14 Mon Sep 17 00:00:00 2001 From: AndreaLanfranchi Date: Thu, 5 Mar 2020 19:17:18 +0100 Subject: [PATCH] Apply knobs for spec 0.9.3 --- libprogpow/ProgPow.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libprogpow/ProgPow.h b/libprogpow/ProgPow.h index ab6fee3bb..c20502254 100644 --- a/libprogpow/ProgPow.h +++ b/libprogpow/ProgPow.h @@ -4,7 +4,8 @@ #include // blocks before changing the random program -#define PROGPOW_PERIOD 50 +//#define PROGPOW_PERIOD 50 +#define PROGPOW_PERIOD 10 // lanes that work together calculating a hash #define PROGPOW_LANES 16 // uint32 registers per lane @@ -16,9 +17,11 @@ // DAG accesses, also the number of loops executed #define PROGPOW_CNT_DAG 64 // random cache accesses per loop -#define PROGPOW_CNT_CACHE 12 +//#define PROGPOW_CNT_CACHE 12 +#define PROGPOW_CNT_CACHE 11 // random math instructions per loop -#define PROGPOW_CNT_MATH 20 +//#define PROGPOW_CNT_MATH 20 +#define PROGPOW_CNT_MATH 18 class ProgPow {