4 Jan
2021
4 Jan
'21
8:47 a.m.
Mark Adams <[email protected]> writes:
Jed likes static inline functions as he said. I assume this is dispatched with a switch statement.
I would probably just use the model used for MatMult in BAIJ. See src/mat/impls/baij/seq/baij.c. This just sets the matmult function to point to specialized functions.
Same, the static inline functions are just a way of creating these specialized functions without copy-pasta or macros.