[Numpy-discussion] Question about Optimization (Inline, and Pyrex)

Sebastian Haase haase@msg.ucsf....
Wed Apr 18 12:40:47 CDT 2007


On 4/18/07, Robert Kern <robert.kern@gmail.com> wrote:
> Sebastian Haase wrote:
> > On 4/17/07, Anne Archibald <peridot.faceted@gmail.com> wrote:
> >> On 18/04/07, Robert Kern <robert.kern@gmail.com> wrote:
> >>> Sebastian Haase wrote:
> >>>
> >>>> Hi,
> >>>> I don't know much about ATLAS -- would there be other numpy functions
> >>>> that *could*  or *should*  be implemented using ATLAS !?
> >>>> Any ?
> >>> Not really, no.
> >> ATLAS is a library designed to implement linear algebra functions
> >> efficiently on many machines. It does things like reorder the
> >> multiplications and additions in matrix multiplication to make the
> >> best possible use of your cache, as measured by empirical testing.
> >
> > So, this means that 'matrixmultiply'  could / should be using ATLAS
> > for the same reason as 'dot' does - right ?
>
> matrixmultiply() is just a long-deprecated alias to dot().
Of course - I should have turn my brain on before hitting 'send'....
Does ATLAS/BLAS do anything special for element wise multiplication
and alike - if for example the data is not aligned or not contiguous?

-Seb.


More information about the Numpy-discussion mailing list