34 lines
996 B
Plaintext
34 lines
996 B
Plaintext
rm -f main_* sizes run_tests *.o *.s
|
|
/usr/bin/g++ -O3 -march=native -std=c++23 -Wall -Wextra -flto -DFLOPCOUNT=0 -DRANDOM_SEED=0 -DROOFLINE=0 -DBENCHMARK=1 main.cpp ./variants/variant_lut_exp.cpp -o main_lut_exp
|
|
=== N_P=50 N_ITER=1000 ===
|
|
W(n) per iteration: 184500.00 flops
|
|
Q(n) per iteration: 6512 bytes
|
|
I(n): 28.33 flops/byte
|
|
W(n): 184500000.00 flops
|
|
T(n): 141259480.00 cycles
|
|
P(n): 1.31 flops/cycle
|
|
|
|
=== N_P=100 N_ITER=1000 ===
|
|
W(n) per iteration: 729000.00 flops
|
|
Q(n) per iteration: 12912 bytes
|
|
I(n): 56.46 flops/byte
|
|
W(n): 729000000.00 flops
|
|
T(n): 570826340.00 cycles
|
|
P(n): 1.28 flops/cycle
|
|
|
|
=== N_P=200 N_ITER=1000 ===
|
|
W(n) per iteration: 2898000.00 flops
|
|
Q(n) per iteration: 25712 bytes
|
|
I(n): 112.71 flops/byte
|
|
W(n): 2898000000.00 flops
|
|
T(n): 2281692040.00 cycles
|
|
P(n): 1.27 flops/cycle
|
|
|
|
=== N_P=500 N_ITER=1000 ===
|
|
W(n) per iteration: 18045000.00 flops
|
|
Q(n) per iteration: 64112 bytes
|
|
I(n): 281.46 flops/byte
|
|
W(n): 18045000000.00 flops
|
|
T(n): 15242958120.00 cycles
|
|
P(n): 1.18 flops/cycle
|