Flop Count Calculations + x86 Measurements + c13 Fix
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
rm -f main_* run_tests *.o *.s variants/*.s variants/*.o headers/*.s headers/*.o
|
||||
/usr/bin/g++ main.cpp ./variants/variant_branchless.cpp -o main_branchless -O3 -march=native -std=c++23 -Wall -Wextra -flto -DFLOPCOUNT=0 -DRANDOM_SEED=0 -DROOFLINE=0 -DBENCHMARK=1
|
||||
=== N_P=50 N_ITER=200 ===
|
||||
W(n) per iteration: 183700.00 flops
|
||||
Q(n) per iteration: 6512 bytes
|
||||
I(n): 28.21 flops/byte
|
||||
W(n): 36740000.00 flops
|
||||
T(n): 32549760.00 cycles
|
||||
P(n): 1.13 flops/cycle
|
||||
|
||||
=== N_P=100 N_ITER=200 ===
|
||||
W(n) per iteration: 727400.00 flops
|
||||
Q(n) per iteration: 12912 bytes
|
||||
I(n): 56.34 flops/byte
|
||||
W(n): 145480000.00 flops
|
||||
T(n): 132472520.00 cycles
|
||||
P(n): 1.10 flops/cycle
|
||||
|
||||
=== N_P=200 N_ITER=200 ===
|
||||
W(n) per iteration: 2894800.00 flops
|
||||
Q(n) per iteration: 25712 bytes
|
||||
I(n): 112.59 flops/byte
|
||||
W(n): 578960000.00 flops
|
||||
T(n): 546899100.00 cycles
|
||||
P(n): 1.06 flops/cycle
|
||||
|
||||
=== N_P=500 N_ITER=200 ===
|
||||
W(n) per iteration: 18037000.00 flops
|
||||
Q(n) per iteration: 64112 bytes
|
||||
I(n): 281.34 flops/byte
|
||||
W(n): 3607400000.00 flops
|
||||
T(n): 3595898300.00 cycles
|
||||
P(n): 1.00 flops/cycle
|
||||
|
||||
=== N_P=1000 N_ITER=200 ===
|
||||
W(n) per iteration: 72074000.00 flops
|
||||
Q(n) per iteration: 128112 bytes
|
||||
I(n): 562.59 flops/byte
|
||||
W(n): 14414800000.00 flops
|
||||
T(n): 14398657780.00 cycles
|
||||
P(n): 1.00 flops/cycle
|
||||
|
||||
=== N_P=2000 N_ITER=200 ===
|
||||
W(n) per iteration: 288148000.00 flops
|
||||
Q(n) per iteration: 256112 bytes
|
||||
I(n): 1125.09 flops/byte
|
||||
W(n): 57629600000.00 flops
|
||||
T(n): 59074417020.00 cycles
|
||||
P(n): 0.98 flops/cycle
|
||||
|
||||
=== N_P=5000 N_ITER=200 ===
|
||||
W(n) per iteration: 1800370000.00 flops
|
||||
Q(n) per iteration: 640112 bytes
|
||||
I(n): 2812.59 flops/byte
|
||||
W(n): 360074000000.00 flops
|
||||
T(n): 384714694000.00 cycles
|
||||
P(n): 0.94 flops/cycle
|
||||
|
||||
Reference in New Issue
Block a user