
28 Feb
2014
28 Feb
'14
10:28 p.m.
On 20/02/14 12:41, Bjorn Reese wrote:
Please notice that the Boost.SIMD proposal also have a couple of aligned memory management functions. It may be a good idea to align (pun intended) your proposal with these.
The code is here if you're interested: https://github.com/MetaScale/nt2/tree/master/modules/boost/simd/sdk/include/... It has functions to adapt any memory allocating scheme or C++ allocator into an aligned version. It has a mechanism similar to Boost.Assert where you can globally define your underlying custom memory allocator. It also has functions to make use of system-specific functions, which are used by default.