Add cache flush logic

This commit is contained in:
Ahmed Kallala
2026-05-20 22:18:44 +02:00
committed by [Quy Anh] «Elliot» Nguyen
parent 18b2180322
commit 32c2b9440e
3 changed files with 63 additions and 1 deletions
+6
View File
@@ -83,6 +83,12 @@ CXXFLAGS += -DFLOPCOUNT=$(FLOPCOUNT)
# Pass random-seeding mode to the C++ code.
CXXFLAGS += -DRANDOM_SEED=$(RANDOM_SEED)
# Roofline benchmarcking mode enabled/disabled
# default = 0 = disabled (hot cache, for normal performance plot measurments)
# 1 = enabled (cold cache, for roofline plot measurements)
ROOFLINE ?= 0
CXXFLAGS += -DROOFLINE=$(ROOFLINE)
# Benchmark suite parameters.
BENCH_SIZES ?= 50 100 200 500 1000 2000 5000 10000
BENCH_ITER ?= 1000