x86 measurements
This commit is contained in:
committed by
Linus Baumberger
parent
c16a67a1f8
commit
3aa84d6b8f
@@ -0,0 +1,58 @@
|
||||
rm -f main_* run_tests *.o *.s variants/*.s variants/*.o headers/*.s headers/*.o
|
||||
/usr/bin/g++ main-float.cpp ./variants/variant_float_inlining_SoA_AVX2_polyexp_rsqrt.cpp -o main_float_inlining_SoA_AVX2_polyexp_rsqrt -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: 3256 bytes
|
||||
I(n): 56.42 flops/byte
|
||||
W(n): 36740000.00 flops
|
||||
T(n): 3922583.00 cycles
|
||||
P(n): 9.37 flops/cycle
|
||||
|
||||
=== N_P=100 N_ITER=200 ===
|
||||
W(n) per iteration: 727400.00 flops
|
||||
Q(n) per iteration: 6456 bytes
|
||||
I(n): 112.67 flops/byte
|
||||
W(n): 145480000.00 flops
|
||||
T(n): 12656640.00 cycles
|
||||
P(n): 11.49 flops/cycle
|
||||
|
||||
=== N_P=200 N_ITER=200 ===
|
||||
W(n) per iteration: 2894800.00 flops
|
||||
Q(n) per iteration: 12856 bytes
|
||||
I(n): 225.17 flops/byte
|
||||
W(n): 578960000.00 flops
|
||||
T(n): 44724200.00 cycles
|
||||
P(n): 12.95 flops/cycle
|
||||
|
||||
=== N_P=500 N_ITER=200 ===
|
||||
W(n) per iteration: 18037000.00 flops
|
||||
Q(n) per iteration: 32056 bytes
|
||||
I(n): 562.67 flops/byte
|
||||
W(n): 3607399936.00 flops
|
||||
T(n): 264998976.00 cycles
|
||||
P(n): 13.61 flops/cycle
|
||||
|
||||
=== N_P=1000 N_ITER=200 ===
|
||||
W(n) per iteration: 72074000.00 flops
|
||||
Q(n) per iteration: 64056 bytes
|
||||
I(n): 1125.17 flops/byte
|
||||
W(n): 14414799872.00 flops
|
||||
T(n): 1051923712.00 cycles
|
||||
P(n): 13.70 flops/cycle
|
||||
|
||||
=== N_P=2000 N_ITER=200 ===
|
||||
W(n) per iteration: 288148000.00 flops
|
||||
Q(n) per iteration: 128056 bytes
|
||||
I(n): 2250.17 flops/byte
|
||||
W(n): 57629601792.00 flops
|
||||
T(n): 4077504256.00 cycles
|
||||
P(n): 14.13 flops/cycle
|
||||
|
||||
=== N_P=5000 N_ITER=200 ===
|
||||
W(n) per iteration: 1800369920.00 flops
|
||||
Q(n) per iteration: 320056 bytes
|
||||
I(n): 5625.17 flops/byte
|
||||
W(n): 360073986048.00 flops
|
||||
T(n): 25317951488.00 cycles
|
||||
P(n): 14.22 flops/cycle
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
rm -f main_* run_tests *.o *.s variants/*.s variants/*.o headers/*.s headers/*.o
|
||||
/usr/bin/g++ main-float.cpp ./variants/variant_float_inlining_SoA_AVX2_polyexp_rsqrt.cpp -o main_float_inlining_SoA_AVX2_polyexp_rsqrt -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: 3256 bytes
|
||||
I(n): 56.42 flops/byte
|
||||
W(n): 36740000.00 flops
|
||||
T(n): 3968185.50 cycles
|
||||
P(n): 9.26 flops/cycle
|
||||
|
||||
=== N_P=100 N_ITER=200 ===
|
||||
W(n) per iteration: 727400.00 flops
|
||||
Q(n) per iteration: 6456 bytes
|
||||
I(n): 112.67 flops/byte
|
||||
W(n): 145480000.00 flops
|
||||
T(n): 12830122.00 cycles
|
||||
P(n): 11.34 flops/cycle
|
||||
|
||||
=== N_P=200 N_ITER=200 ===
|
||||
W(n) per iteration: 2894800.00 flops
|
||||
Q(n) per iteration: 12856 bytes
|
||||
I(n): 225.17 flops/byte
|
||||
W(n): 578960000.00 flops
|
||||
T(n): 45279400.00 cycles
|
||||
P(n): 12.79 flops/cycle
|
||||
|
||||
=== N_P=500 N_ITER=200 ===
|
||||
W(n) per iteration: 18037000.00 flops
|
||||
Q(n) per iteration: 32056 bytes
|
||||
I(n): 562.67 flops/byte
|
||||
W(n): 3607399936.00 flops
|
||||
T(n): 268426256.00 cycles
|
||||
P(n): 13.44 flops/cycle
|
||||
|
||||
=== N_P=1000 N_ITER=200 ===
|
||||
W(n) per iteration: 72074000.00 flops
|
||||
Q(n) per iteration: 64056 bytes
|
||||
I(n): 1125.17 flops/byte
|
||||
W(n): 14414799872.00 flops
|
||||
T(n): 1064596800.00 cycles
|
||||
P(n): 13.54 flops/cycle
|
||||
|
||||
=== N_P=2000 N_ITER=200 ===
|
||||
W(n) per iteration: 288148000.00 flops
|
||||
Q(n) per iteration: 128056 bytes
|
||||
I(n): 2250.17 flops/byte
|
||||
W(n): 57629601792.00 flops
|
||||
T(n): 4126754304.00 cycles
|
||||
P(n): 13.96 flops/cycle
|
||||
|
||||
=== N_P=5000 N_ITER=200 ===
|
||||
W(n) per iteration: 1800369920.00 flops
|
||||
Q(n) per iteration: 320056 bytes
|
||||
I(n): 5625.17 flops/byte
|
||||
W(n): 360073986048.00 flops
|
||||
T(n): 25623275520.00 cycles
|
||||
P(n): 14.05 flops/cycle
|
||||
|
||||
=== N_P=10000 N_ITER=200 ===
|
||||
W(n) per iteration: 2905772800.00 flops
|
||||
Q(n) per iteration: 640056 bytes
|
||||
I(n): 4539.87 flops/byte
|
||||
W(n): 581154570240.00 flops
|
||||
T(n): 102223626240.00 cycles
|
||||
P(n): 5.69 flops/cycle
|
||||
|
||||
Reference in New Issue
Block a user