-
Notifications
You must be signed in to change notification settings - Fork 84
/
CONFIG
30 lines (24 loc) · 1.11 KB
/
CONFIG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ROOT = /users/cosic/nsmart/work/SCALE/Private/
OSSL = /users/cosic/nsmart/local/openssl/
# Debug flags
# SH_DEBUG = Share debugging (for development only)
# DEBUG = Checks for reads before writes on register access
# DETERMINISTIC = Removes all randomness, gain for debugging
# DEBUGMEM = Turns on some memory debugging (really only meant for Rust pipeline)
# MAX_MOD = 7 should be OK for 128 bit based FHE operations
MAX_MOD = 7
# 2 should be OK for 128 bit fiels [better check all]
MAX_GFP = 3
# Benchmark flags
# BENCH_NETDATA = Enable benchmarking of network data
# BENCH_MEMORY = Enable benchmarking of memory
# BENCH_OFFLINE = Estimate how much offline data is consumed
# - Note this counts how much stuff is needed by the
# program and the daBit machine.
# - The aBits/aANDs count counts all those used
# by GC calls/sregint ops and GC. But not the
# creation of the aANDs themselves
#FLAGS = -DSH_DEBUG -DDEBUG -DMAX_MOD_SZ=$(MAX_MOD) -DDETERMINISTIC -DBENCH_NETDATA -DBENCH_MEMORY
FLAGS = -DMAX_MOD_SZ=$(MAX_MOD) -DMAX_GFP_SZ=$(MAX_GFP)
OPT = -O3
LDFLAGS =