Skip to content

Commit

Permalink
Apply knobs for spec 0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaLanfranchi committed Mar 5, 2020
1 parent d45cd96 commit cbd1c16
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions libprogpow/ProgPow.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#include <string>

// 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
Expand All @@ -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
{
Expand Down

0 comments on commit cbd1c16

Please sign in to comment.