Mercurial > hg > segmenter-vamp-plugin
comparison armadillo-3.900.4/include/armadillo_bits/arma_config.hpp @ 49:1ec0e2823891
Switch to using subrepo copies of qm-dsp, nnls-chroma, vamp-plugin-sdk; update Armadillo version; assume build without external BLAS/LAPACK
author | Chris Cannam |
---|---|
date | Thu, 13 Jun 2013 10:25:24 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
48:69251e11a913 | 49:1ec0e2823891 |
---|---|
1 // Copyright (C) 2008-2012 NICTA (www.nicta.com.au) | |
2 // Copyright (C) 2008-2012 Conrad Sanderson | |
3 // | |
4 // This Source Code Form is subject to the terms of the Mozilla Public | |
5 // License, v. 2.0. If a copy of the MPL was not distributed with this | |
6 // file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
7 | |
8 | |
9 //! \addtogroup arma_config | |
10 //! @{ | |
11 | |
12 | |
13 | |
14 struct arma_config | |
15 { | |
16 #if defined(ARMA_MAT_PREALLOC) | |
17 static const uword mat_prealloc = (sword(ARMA_MAT_PREALLOC) > 0) ? uword(ARMA_MAT_PREALLOC) : 1; | |
18 #else | |
19 static const uword mat_prealloc = 16; | |
20 #endif | |
21 | |
22 | |
23 #if defined(ARMA_SPMAT_CHUNKSIZE) | |
24 static const uword spmat_chunksize = (sword(ARMA_SPMAT_CHUNKSIZE) > 0) ? uword(ARMA_SPMAT_CHUNKSIZE) : 256; | |
25 #else | |
26 static const uword spmat_chunksize = 256; | |
27 #endif | |
28 | |
29 | |
30 #if defined(ARMA_USE_ATLAS) | |
31 static const bool atlas = true; | |
32 #else | |
33 static const bool atlas = false; | |
34 #endif | |
35 | |
36 | |
37 #if defined(ARMA_USE_LAPACK) | |
38 static const bool lapack = true; | |
39 #else | |
40 static const bool lapack = false; | |
41 #endif | |
42 | |
43 | |
44 #if defined(ARMA_USE_BLAS) | |
45 static const bool blas = true; | |
46 #else | |
47 static const bool blas = false; | |
48 #endif | |
49 | |
50 | |
51 #if defined(ARMA_USE_BOOST) | |
52 static const bool boost = true; | |
53 #else | |
54 static const bool boost = false; | |
55 #endif | |
56 | |
57 | |
58 #if defined(ARMA_USE_BOOST_DATE) | |
59 static const bool boost_date = true; | |
60 #else | |
61 static const bool boost_date = false; | |
62 #endif | |
63 | |
64 | |
65 #if !defined(ARMA_NO_DEBUG) && !defined(NDEBUG) | |
66 static const bool debug = true; | |
67 #else | |
68 static const bool debug = false; | |
69 #endif | |
70 | |
71 | |
72 #if defined(ARMA_EXTRA_DEBUG) | |
73 static const bool extra_debug = true; | |
74 #else | |
75 static const bool extra_debug = false; | |
76 #endif | |
77 | |
78 | |
79 #if defined(ARMA_GOOD_COMPILER) | |
80 static const bool good_comp = true; | |
81 #else | |
82 static const bool good_comp = false; | |
83 #endif | |
84 | |
85 | |
86 #if ( \ | |
87 defined(ARMA_EXTRA_MAT_PROTO) || defined(ARMA_EXTRA_MAT_MEAT) \ | |
88 || defined(ARMA_EXTRA_COL_PROTO) || defined(ARMA_EXTRA_COL_MEAT) \ | |
89 || defined(ARMA_EXTRA_ROW_PROTO) || defined(ARMA_EXTRA_ROW_MEAT) \ | |
90 || defined(ARMA_EXTRA_CUBE_PROTO) || defined(ARMA_EXTRA_CUBE_MEAT) \ | |
91 || defined(ARMA_EXTRA_FIELD_PROTO) || defined(ARMA_EXTRA_FIELD_MEAT) \ | |
92 || defined(ARMA_EXTRA_SPMAT_PROTO) || defined(ARMA_EXTRA_SPMAT_MEAT) \ | |
93 || defined(ARMA_EXTRA_SPCOL_PROTO) || defined(ARMA_EXTRA_SPCOL_MEAT) \ | |
94 || defined(ARMA_EXTRA_SPROW_PROTO) || defined(ARMA_EXTRA_SPROW_MEAT) \ | |
95 ) | |
96 static const bool extra_code = true; | |
97 #else | |
98 static const bool extra_code = false; | |
99 #endif | |
100 }; | |
101 | |
102 | |
103 | |
104 //! @} |