Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:51:40

0001 // This file is part of Eigen, a lightweight C++ template library
0002 // for linear algebra.
0003 //
0004 // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
0005 // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
0006 //
0007 // This Source Code Form is subject to the terms of the Mozilla
0008 // Public License v. 2.0. If a copy of the MPL was not distributed
0009 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
0010 
0011 
0012 /* All the parameters defined in this file can be specialized in the
0013  * architecture specific files, and/or by the user.
0014  * More to come... */
0015 
0016 #ifndef EIGEN_DEFAULT_SETTINGS_H
0017 #define EIGEN_DEFAULT_SETTINGS_H
0018 
0019 /** Defines the maximal loop size to enable meta unrolling of loops.
0020   * Note that the value here is expressed in Eigen's own notion of "number of FLOPS",
0021   * it does not correspond to the number of iterations or the number of instructions
0022   */
0023 #ifndef EIGEN_UNROLLING_LIMIT
0024 #define EIGEN_UNROLLING_LIMIT 110
0025 #endif
0026 
0027 /** Defines the threshold between a "small" and a "large" matrix.
0028   * This threshold is mainly used to select the proper product implementation.
0029   */
0030 #ifndef EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD
0031 #define EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 8
0032 #endif
0033 
0034 /** Defines the maximal width of the blocks used in the triangular product and solver
0035   * for vectors (level 2 blas xTRMV and xTRSV). The default is 8.
0036   */
0037 #ifndef EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH
0038 #define EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH 8
0039 #endif
0040 
0041 
0042 /** Defines the default number of registers available for that architecture.
0043   * Currently it must be 8 or 16. Other values will fail.
0044   */
0045 #ifndef EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS
0046 #define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 8
0047 #endif
0048 
0049 #endif // EIGEN_DEFAULT_SETTINGS_H