feat: update

This commit is contained in:
tqcq 2024-10-25 02:20:57 +00:00
parent 5c8122a540
commit 394884c1a9
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
#include "rev-mc.h" #include "rev-mc.h"
#include "utils.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 ROUNDS_std 1000
#define THRESHOLD_std 340 #define THRESHOLD_std 340
#define MEM_SIZE_std GB(5L) #define MEM_SIZE_std GB(5L)

View File

@ -28,7 +28,7 @@
#define ALIGN_TO(X, Y) ((X) & (~((1LL << (Y)) - 1LL)))// Mask out the lower Y bits #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 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 VALID_THRESH 0.75f
#define SET_THRESH 0.95f #define SET_THRESH 0.95f
#define BITSET_SIZE 256// bitset used to exploit bitwise operations #define BITSET_SIZE 256// bitset used to exploit bitwise operations