m.*! not native?
Jefferson Provost <[email protected]>
| Newsgroups | gmane.lisp.matlisp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I was profiling some of my code yesterday, and noticed that a single m.*! call was taking more than 90% of the run time for my program. After poking around a little in mtimes.lisp, it seems that m.*! isn't native. Is this true? I don't know BLAS very well. Is there no way to do element-wise multiplication in BLAS? The non-native routine is a couple of orders of magnitude slower than native routines of the same complexity: (e.g. m.+! or outer-product of vectors). If BLAS can't do this, it seems like it would be an easy Fortran routine to write. I could do it, though I'm not familiar with how to do foreign functions in Allegro or cmucl. Jeff