From cc0f2e9414364d319eea608ede0698269fb9b1a4 Mon Sep 17 00:00:00 2001 From: tqcq Date: Sat, 26 Oct 2024 09:18:19 +0000 Subject: [PATCH] fix: drama --- drama/src/main.c | 2 +- drama/src/rev-mc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drama/src/main.c b/drama/src/main.c index 1b58d24..289f017 100644 --- a/drama/src/main.c +++ b/drama/src/main.c @@ -17,7 +17,7 @@ #include "rev-mc.h" #include "utils.h" -#define SETS_std (2 * 16 * 2)// 1rk-1ch +#define SETS_std (2 * 16)// 1rk-1ch #define ROUNDS_std 1000 #define THRESHOLD_std 340 #define MEM_SIZE_std GB(5L) diff --git a/drama/src/rev-mc.c b/drama/src/rev-mc.c index cacc0f7..e568076 100644 --- a/drama/src/rev-mc.c +++ b/drama/src/rev-mc.c @@ -28,7 +28,7 @@ #define ALIGN_TO(X, Y) ((X) & (~((1LL << (Y)) - 1LL)))// Mask out the lower Y bits #define LS_BITMASK(X) ((1LL << (X)) - 1LL) // Mask only the lower X bits -#define SET_SIZE (40 * 2)// elements per set +#define SET_SIZE (40)// elements per set #define VALID_THRESH 0.75f #define SET_THRESH 0.95f #define BITSET_SIZE 256// bitset used to exploit bitwise operations