From 42838c28b8885bab5e00daa9192275b0e929fb07 Mon Sep 17 00:00:00 2001 From: Everton Constantino Date: Mon, 13 Jan 2020 16:58:14 +0000 Subject: Adding correct cache sizes for PPC architecture. --- Eigen/src/Core/products/GeneralBlockPanelKernel.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Eigen/src/Core/products') diff --git a/Eigen/src/Core/products/GeneralBlockPanelKernel.h b/Eigen/src/Core/products/GeneralBlockPanelKernel.h index 2ae8ece98..d0dc14dbd 100644 --- a/Eigen/src/Core/products/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/products/GeneralBlockPanelKernel.h @@ -35,6 +35,10 @@ inline std::ptrdiff_t manage_caching_sizes_helper(std::ptrdiff_t a, std::ptrdiff const std::ptrdiff_t defaultL1CacheSize = 32*1024; const std::ptrdiff_t defaultL2CacheSize = 256*1024; const std::ptrdiff_t defaultL3CacheSize = 2*1024*1024; +#elif EIGEN_ARCH_PPC +const std::ptrdiff_t defaultL1CacheSize = 64*1024; +const std::ptrdiff_t defaultL2CacheSize = 512*1024; +const std::ptrdiff_t defaultL3CacheSize = 4*1024*1024; #else const std::ptrdiff_t defaultL1CacheSize = 16*1024; const std::ptrdiff_t defaultL2CacheSize = 512*1024; -- cgit v1.2.3