[Numpy-discussion] Caution about using intrisincs, and other 'advanced' optimizations

David Cournapeau cournape at gmail.com
Fri Nov 15 09:49:05 EST 2013


On Wed, Nov 13, 2013 at 6:16 PM, Julian Taylor <
jtaylor.debian at googlemail.com> wrote:

> On 13.11.2013 18:26, David Cournapeau wrote:
> >
> >
> >     Can you narrow it down to a specific intrinsic? they can be enabled
> and
> >     disabled in set ./numpy/core/setup_common.py
> >
> >
> > valgrind shows quite a few invalid read in BOOL_ functions when running
> > the scipy or sklearn test suite. BOOL_logical_or is the one that appears
> > the most often. I don't have time to track this down now, but I think it
> > would be good to have at least a system in place to disable the simd
> > intrinsics when building numpy.
>
> those are unrelated to the intrinsics, they should be fixed in master by
> github.com/numpy/numpy/issues/3965
> Can you try it?
> Possibly there is something we should backport.
>

Will do, but the errors I am seeing only appear in the simc.inc.src-based
implementation of BOOL_logical_or (they disappear if I disable the simd
intrinsics manually in the numpy headers).

David

> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131115/ae40ec42/attachment.html>


More information about the NumPy-Discussion mailing list