HNHacker News
TopNewBestAskShowJobs

hairy_man674

129 karma · joined August 29, 2016

Just another person.
submissionscomments
hairy_man674··on Optimizing matrix multiplication in C
Any programmer with a competent faculty for science can see that your experiment is flawed:

1. too many indepedent variables: comparing two different compilers on two different platforms on two different architectures?!!

2. and then you compare performances without equal consideration of the problem size for n!

your conclusions are premature, sir, your analysis is conjecture and yet you dare use the word "primitive". for instance, are you aware that Blas uses Fortran whose lack of pointer aliasing effects in memory could be causing the disparity here? have you considered that certain interprocedural optimizations have been affected by not having seperate translation units for your tests?! you have also added debugging flags to the compilers further slowing the BLAS routines with more debugging cruft!?! gah!

for these reasons above and the flaunted use of architecture specific intrinsics, your post stands accused! make revisions and then also see how blas performs using a better algorithm with possibly fewer aliasing effects

see http://m.mathnet.ru/php/archive.phtml?wshow=paper&jrnid=zvmm...

begone from this thread! use proper profiling tools. learn c! fix this violence to science and injustice!!!

← PreviousPage 2 of 2