[Numpy-discussion] numpy arrays, data allocation and SIMD alignement

Matthew Brett matthew.brett@gmail....
Fri Aug 3 08:38:36 CDT 2007


Hi,

>    Following an ongoing discussion with S. Johnson, one of the developer
> of fftw3, I would be interested in what people think about adding
> infrastructure in numpy related to SIMD alignement (that is 16 bytes
> alignement for SSE/ALTIVEC, I don't know anything about other archs).
> The problem is that right now, it is difficult to get information for
> alignement in numpy (by alignement here, I mean something different than
> what is normally meant in numpy context; whether, in my understanding,
> NPY_ALIGNED refers to a pointer which is aligned wrt his type, here, I
> am talking about arbitrary alignement).

Excellent idea if practical...

Matthew


More information about the Numpy-discussion mailing list