Settings.h
Go to the documentation of this file.
1 // This file is part of Eigen, a lightweight C++ template library
2 // for linear algebra.
3 //
4 // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
5 // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
6 //
7 // Eigen is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU Lesser General Public
9 // License as published by the Free Software Foundation; either
10 // version 3 of the License, or (at your option) any later version.
11 //
12 // Alternatively, you can redistribute it and/or
13 // modify it under the terms of the GNU General Public License as
14 // published by the Free Software Foundation; either version 2 of
15 // the License, or (at your option) any later version.
16 //
17 // Eigen is distributed in the hope that it will be useful, but WITHOUT ANY
18 // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19 // FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License or the
20 // GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU Lesser General Public
23 // License and a copy of the GNU General Public License along with
24 // Eigen. If not, see <http://www.gnu.org/licenses/>.
25 
26 
27 /* All the parameters defined in this file can be specialized in the
28  * architecture specific files, and/or by the user.
29  * More to come... */
30 
31 #ifndef EIGEN_DEFAULT_SETTINGS_H
32 #define EIGEN_DEFAULT_SETTINGS_H
33 
38 #ifndef EIGEN_UNROLLING_LIMIT
39 #define EIGEN_UNROLLING_LIMIT 100
40 #endif
41 
45 #ifndef EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD
46 #define EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 8
47 #endif
48 
52 #ifndef EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH
53 #define EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH 8
54 #endif
55 
56 
60 #ifndef EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS
61 #define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 8
62 #endif
63 
64 #endif // EIGEN_DEFAULT_SETTINGS_H