This repository was archived by the owner on Mar 20, 2023. It is now read-only.
C++17: take advantage of overaligned operator new and aligned_alloc #836
Open
Description
In #834 we will increase the minimum C++ standard to C++17.
This should allow TODO items like
CoreNeuron/coreneuron/utils/memory.cpp
Lines 39 to 40 in 0574812
An initial attempt at addressing this was introduced in #834, but then removed again. Check the intermediate versions of that PR.
We can also use std::aligned_alloc instead of posix_memalign
, and so on.