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

Sebastian Haase haase at msg.ucsf.edu
Wed Apr 18 13:40:47 EDT 2007


On 4/18/07, Robert Kern <robert.kern at gmail.com> wrote:
> Sebastian Haase wrote:
> > On 4/17/07, Anne Archibald <peridot.faceted at gmail.com> wrote:
> >> On 18/04/07, Robert Kern <robert.kern at 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