[Numpy-tickets] [NumPy] #567: Aligned allocator for numpy
NumPy
numpy-tickets@scipy....
Sat Aug 11 01:50:36 CDT 2007
#567: Aligned allocator for numpy
-------------------------+--------------------------------------------------
Reporter: cdavid | Owner: somebody
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Other | Version: none
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Here is a first patch to have aligned allocator in numpy: this does not
give yet a high interface to create arrays with a given alignment, only
aligned allocators in the array interface.
The patch:
* defines aligned allocators
* Make PyDataMem_* macro to point to the aligned allocator with a default
alignment (fixed to 16 bytes)
* Define new macro PyDataAligned_* to align buffer with arbitrary
alignment
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/567>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list