mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
@@ -129,6 +129,11 @@
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
|
||||
// Required for querying cache sizes on macOS.
|
||||
#if EIGEN_OS_MAC
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
#if defined(EIGEN_USE_SYCL)
|
||||
#undef min
|
||||
#undef max
|
||||
|
||||
@@ -977,10 +977,6 @@ class aligned_allocator {
|
||||
|
||||
//---------- Cache sizes ----------
|
||||
|
||||
#if EIGEN_OS_MAC
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
|
||||
#if !defined(EIGEN_NO_CPUID)
|
||||
#if EIGEN_COMP_GNUC && EIGEN_ARCH_i386_OR_x86_64
|
||||
#if defined(__PIC__) && EIGEN_ARCH_i386
|
||||
|
||||
Reference in New Issue
Block a user