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-float_symmetry.cpp ./variants/variant_float_inlining_SoA_symmetry_ILP_16.cpp -o main_float_inlining_SoA_symmetry_ILP_16 -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: 95500.00 flops
|
||||
Q(n) per iteration: 3256 bytes
|
||||
I(n): 29.33 flops/byte
|
||||
W(n): 19100000.00 flops
|
||||
T(n): 17928308.00 cycles
|
||||
P(n): 1.07 flops/cycle
|
||||
|
||||
=== N_P=100 N_ITER=200 ===
|
||||
W(n) per iteration: 371000.00 flops
|
||||
Q(n) per iteration: 6456 bytes
|
||||
I(n): 57.47 flops/byte
|
||||
W(n): 74200000.00 flops
|
||||
T(n): 64051680.00 cycles
|
||||
P(n): 1.16 flops/cycle
|
||||
|
||||
=== N_P=200 N_ITER=200 ===
|
||||
W(n) per iteration: 1462000.00 flops
|
||||
Q(n) per iteration: 12856 bytes
|
||||
I(n): 113.72 flops/byte
|
||||
W(n): 292400000.00 flops
|
||||
T(n): 254104352.00 cycles
|
||||
P(n): 1.15 flops/cycle
|
||||
|
||||
=== N_P=500 N_ITER=200 ===
|
||||
W(n) per iteration: 9055000.00 flops
|
||||
Q(n) per iteration: 32056 bytes
|
||||
I(n): 282.47 flops/byte
|
||||
W(n): 1811000064.00 flops
|
||||
T(n): 1873828992.00 cycles
|
||||
P(n): 0.97 flops/cycle
|
||||
|
||||
=== N_P=1000 N_ITER=200 ===
|
||||
W(n) per iteration: 36110000.00 flops
|
||||
Q(n) per iteration: 64056 bytes
|
||||
I(n): 563.73 flops/byte
|
||||
W(n): 7222000128.00 flops
|
||||
T(n): 8172222976.00 cycles
|
||||
P(n): 0.88 flops/cycle
|
||||
|
||||
=== N_P=2000 N_ITER=200 ===
|
||||
W(n) per iteration: 144220000.00 flops
|
||||
Q(n) per iteration: 128056 bytes
|
||||
I(n): 1126.23 flops/byte
|
||||
W(n): 28843999232.00 flops
|
||||
T(n): 33889355776.00 cycles
|
||||
P(n): 0.85 flops/cycle
|
||||
|
||||
=== N_P=5000 N_ITER=200 ===
|
||||
W(n) per iteration: 900550016.00 flops
|
||||
Q(n) per iteration: 320056 bytes
|
||||
I(n): 2813.73 flops/byte
|
||||
W(n): 180110000128.00 flops
|
||||
T(n): 218516439040.00 cycles
|
||||
P(n): 0.82 flops/cycle
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
rm -f main_* run_tests *.o *.s variants/*.s variants/*.o headers/*.s headers/*.o
|
||||
/usr/bin/g++ main-float_symmetry.cpp ./variants/variant_float_inlining_SoA_symmetry_ILP_16.cpp -o main_float_inlining_SoA_symmetry_ILP_16 -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: 95500.00 flops
|
||||
Q(n) per iteration: 3256 bytes
|
||||
I(n): 29.33 flops/byte
|
||||
W(n): 19100000.00 flops
|
||||
T(n): 18233164.00 cycles
|
||||
P(n): 1.05 flops/cycle
|
||||
|
||||
=== N_P=100 N_ITER=200 ===
|
||||
W(n) per iteration: 371000.00 flops
|
||||
Q(n) per iteration: 6456 bytes
|
||||
I(n): 57.47 flops/byte
|
||||
W(n): 74200000.00 flops
|
||||
T(n): 65275440.00 cycles
|
||||
P(n): 1.14 flops/cycle
|
||||
|
||||
=== N_P=200 N_ITER=200 ===
|
||||
W(n) per iteration: 1462000.00 flops
|
||||
Q(n) per iteration: 12856 bytes
|
||||
I(n): 113.72 flops/byte
|
||||
W(n): 292400000.00 flops
|
||||
T(n): 253765520.00 cycles
|
||||
P(n): 1.15 flops/cycle
|
||||
|
||||
=== N_P=500 N_ITER=200 ===
|
||||
W(n) per iteration: 9055000.00 flops
|
||||
Q(n) per iteration: 32056 bytes
|
||||
I(n): 282.47 flops/byte
|
||||
W(n): 1811000064.00 flops
|
||||
T(n): 1865975808.00 cycles
|
||||
P(n): 0.97 flops/cycle
|
||||
|
||||
=== N_P=1000 N_ITER=200 ===
|
||||
W(n) per iteration: 36110000.00 flops
|
||||
Q(n) per iteration: 64056 bytes
|
||||
I(n): 563.73 flops/byte
|
||||
W(n): 7222000128.00 flops
|
||||
T(n): 8123003904.00 cycles
|
||||
P(n): 0.89 flops/cycle
|
||||
|
||||
=== N_P=2000 N_ITER=200 ===
|
||||
W(n) per iteration: 144220000.00 flops
|
||||
Q(n) per iteration: 128056 bytes
|
||||
I(n): 1126.23 flops/byte
|
||||
W(n): 28843999232.00 flops
|
||||
T(n): 33680871424.00 cycles
|
||||
P(n): 0.86 flops/cycle
|
||||
|
||||
=== N_P=5000 N_ITER=200 ===
|
||||
W(n) per iteration: 900550016.00 flops
|
||||
Q(n) per iteration: 320056 bytes
|
||||
I(n): 2813.73 flops/byte
|
||||
W(n): 180110000128.00 flops
|
||||
T(n): 220842590208.00 cycles
|
||||
P(n): 0.82 flops/cycle
|
||||
|
||||
Reference in New Issue
Block a user