[Bug libfortran/78379] Processor-specific versions for matmul
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sat Dec 3 15:08:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-12-03
Ever confirmed|0 |1
--- Comment #23 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Timings before r243219
=========================================================
================ MEASURED GIGAFLOPS =
=========================================================
Matmul Matmul
fixed Matmul variable
Size Loops explicit refMatmul assumed explicit
=========================================================
2 5000 0.020 0.059 0.140 0.181
3 5000 0.475 0.551 0.411 0.531
4 5000 1.011 1.120 0.951 1.131
5 5000 1.446 1.512 1.286 1.490
7 5000 2.481 2.323 2.313 2.573
8 5000 3.511 2.496 3.402 3.678
9 5000 3.575 2.300 2.074 2.694
15 5000 4.395 3.242 5.172 5.299
16 5000 5.907 3.228 5.920 6.009
17 5000 5.445 3.804 4.681 5.489
31 5000 7.133 4.291 7.209 7.304
32 5000 7.984 4.323 7.197 7.580
33 5000 6.739 4.488 7.306 7.377
63 5000 8.718 4.682 8.997 9.170
64 5000 9.667 4.555 9.611 9.882
65 5000 9.263 4.462 9.018 9.418
127 3920 10.378 4.287 10.327 10.296
128 3829 10.960 4.353 10.967 11.138
129 3741 10.343 4.315 10.065 10.440
255 483 11.370 4.522 11.511 11.229
256 477 11.589 4.538 11.841 11.307
257 472 10.983 4.532 10.721 10.955
511 60 11.341 4.476 10.970 11.399
512 59 12.164 4.666 12.257 11.726
513 59 11.044 4.575 11.141 10.582
1023 7 11.059 3.900 11.374 11.313
1024 7 12.030 3.908 11.773 11.275
1025 7 10.912 3.933 10.598 11.072
at r243219
=========================================================
================ MEASURED GIGAFLOPS =
=========================================================
Matmul Matmul
fixed Matmul variable
Size Loops explicit refMatmul assumed explicit
=========================================================
2 5000 0.096 0.108 0.098 0.125
3 5000 0.353 0.411 0.290 0.355
4 5000 0.779 0.770 0.651 0.846
5 5000 1.176 1.286 1.088 1.193
7 5000 2.089 2.260 1.991 2.142
8 5000 3.232 2.430 3.164 3.486
9 5000 3.380 2.747 3.370 3.575
15 5000 4.668 3.018 4.481 4.692
16 5000 5.184 3.506 5.987 6.404
17 5000 5.747 3.348 5.596 5.774
31 5000 6.995 4.036 7.046 7.040
32 5000 8.822 4.161 7.868 8.076
33 5000 7.778 4.348 8.078 8.090
63 5000 9.600 4.509 9.682 9.367
64 5000 11.616 4.365 11.045 10.845
65 5000 10.434 4.337 10.536 10.558
127 3920 11.975 4.259 12.065 11.979
128 3829 13.767 4.307 12.918 13.469
129 3741 12.370 4.139 11.410 12.350
255 483 13.292 4.462 14.016 14.005
256 477 14.298 4.477 14.312 15.027
257 472 13.436 4.352 13.014 13.565
511 60 13.484 4.574 14.024 13.789
512 59 13.803 4.459 14.284 14.950
513 59 13.094 4.479 13.069 13.234
1023 7 13.952 3.914 14.194 13.873
1024 7 14.636 3.837 14.675 14.987
1025 7 13.649 3.953 13.594 13.701
For reference with -fexternal-blas
=========================================================
================ MEASURED GIGAFLOPS =
=========================================================
Matmul Matmul
fixed Matmul variable
Size Loops explicit refMatmul assumed explicit
=========================================================
2 5000 0.096 0.107 0.091 0.127
3 5000 0.370 0.411 0.293 0.371
4 5000 0.812 0.825 0.692 0.812
5 5000 1.254 1.292 1.117 1.273
7 5000 2.382 2.345 2.295 2.536
8 5000 3.483 2.501 2.804 2.192
9 5000 2.421 2.058 2.574 3.121
15 5000 5.077 3.244 5.233 5.298
16 5000 5.797 3.220 5.799 5.762
17 5000 5.354 2.891 5.287 5.474
31 5000 9.939 4.311 11.991 12.169
32 5000 15.715 4.006 15.851 16.007
33 5000 13.375 4.290 14.441 14.977
63 5000 18.057 4.683 18.372 17.800
64 5000 21.426 4.270 20.842 22.123
65 5000 18.861 4.385 20.410 19.707
127 3920 21.448 4.288 20.904 21.320
128 3829 44.731 4.312 44.129 40.524
129 3741 36.300 4.109 38.858 36.359
255 483 52.876 4.310 57.982 54.261
512 59 59.823 4.688 66.297 60.748
513 59 58.666 4.559 60.481 57.547
1023 7 61.315 3.900 64.559 61.124
1024 7 63.148 3.861 68.033 62.486
1025 7 58.991 3.895 55.074 58.168
More information about the Gcc-bugs
mailing list