Closed dgasmith closed 6 years ago
@andysim Any better ideas on how to do this?
Sadly not. My instinct is to see what the excellent MIPP package does, and they use mm_alloc. I rolled my own allocator (well, copied code from Josutis) but really don't recommend that and I think your solution is much better. I'll be getting rid of my allocator when I start using MIPP for that project.
Rough, this is in response to #25. Thanks for looking.
Appears Mac clang does not have full c11 support (no
aligned_alloc
). Also, MSVC requires a special_aligned_malloc
. Should address #25.