radiasoft / zgoubi

Git repo for zgoubi source code
https://sourceforge.net/projects/zgoubi/
GNU General Public License v2.0
9 stars 3 forks source link

Experiment with writing a custom matmul() to speed up calculations on small matrices #67

Open rouson opened 5 years ago

rouson commented 5 years ago

This effort should be undertaken only if linking to the optimized library versions investigated issue #66 does not reduce runtimes.

Most calls to matmul() in the computationally intensive kernels are for small matrices. These may not benefit from the compiler's implementation of matmul or linking to and calling BLAS or other library versions.