mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 03:09:01 +08:00
Add missing #include <new>
This commit is contained in:
parent
c01ff45312
commit
a32db43966
@ -41,6 +41,7 @@
|
||||
// Align to the boundary that avoids false sharing.
|
||||
// https://en.cppreference.com/w/cpp/thread/hardware_destructive_interference_size
|
||||
#ifdef __cpp_lib_hardware_interference_size
|
||||
#include <new>
|
||||
#define EIGEN_ALIGN_TO_AVOID_FALSE_SHARING EIGEN_ALIGN_TO_BOUNDARY(std::hardware_destructive_interference_size)
|
||||
#else
|
||||
// Overalign for the cache line size of 128 bytes (Apple M1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user