diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-08-24 15:15:32 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-08-24 15:15:32 +0000 |
commit | ba100998bfab8fcf325451be050cabb52f641f46 (patch) | |
tree | 7b18bcccdd10dd109c383948b186b996cabae67d /Eigen/src/Core/util/Macros.h | |
parent | bfe86b8fc0434cf03838bc1534f9f810594f2f08 (diff) |
* split Meta.h to Meta.h (generic meta programming) and XprHelper.h (relates to eigen mechanism)
* added a meta.cpp unit test
* EIGEN_TUNE_FOR_L2_CACHE_SIZE now represents L2 block size in Bytes (whence the ei_meta_sqrt...)
* added a CustomizeEigen.dox page
* added a TOC to QuickStartGuide.dox
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 29ac98b1f..ae2041875 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -28,20 +28,15 @@ #undef minor -#ifdef EIGEN_DONT_USE_UNROLLED_LOOPS -#define EIGEN_UNROLLING_LIMIT 0 -#endif - -/** Defines the maximal loop size to enable meta unrolling of loops */ +/** \internal Defines the maximal loop size to enable meta unrolling of loops */ #ifndef EIGEN_UNROLLING_LIMIT #define EIGEN_UNROLLING_LIMIT 100 #endif -/** Define a hint size when dealing with large matrices and L2 cache friendlyness - * More precisely, its square value represents the amount of bytes which can be assumed to stay in L2 cache. - */ +/** \internal Define the maximal size in Bytes of L2 blocks. + * The current value is set to generate blocks of 256x256 for float */ #ifndef EIGEN_TUNE_FOR_L2_CACHE_SIZE -#define EIGEN_TUNE_FOR_L2_CACHE_SIZE 1024 +#define EIGEN_TUNE_FOR_L2_CACHE_SIZE (1024*256) #endif #define USING_PART_OF_NAMESPACE_EIGEN \ |