From 394884c1a9b0a47c982fcc01901b2ef0933720a7 Mon Sep 17 00:00:00 2001 From: tqcq Date: Fri, 25 Oct 2024 02:20:57 +0000 Subject: [PATCH] feat: update --- 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 6d7fc12..1b58d24 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 * 10)// 1rk-1ch +#define SETS_std (2 * 16 * 2)// 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 4e3d137..cacc0f7 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 300// elements per set +#define SET_SIZE (40 * 2)// elements per set #define VALID_THRESH 0.75f #define SET_THRESH 0.95f #define BITSET_SIZE 256// bitset used to exploit bitwise operations