comparison armadillo-3.900.4/include/armadillo_bits/include_atlas.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-2011 NICTA (www.nicta.com.au)
2 // Copyright (C) 2008-2011 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 #if defined(ARMA_USE_ATLAS)
10 #if !defined(ARMA_ATLAS_INCLUDE_DIR)
11 extern "C"
12 {
13 #include <cblas.h>
14 #include <clapack.h>
15 }
16 #else
17 #define ARMA_STR1(x) x
18 #define ARMA_STR2(x) ARMA_STR1(x)
19
20 #define ARMA_CBLAS ARMA_STR2(ARMA_ATLAS_INCLUDE_DIR)ARMA_STR2(cblas.h)
21 #define ARMA_CLAPACK ARMA_STR2(ARMA_ATLAS_INCLUDE_DIR)ARMA_STR2(clapack.h)
22
23 extern "C"
24 {
25 #include ARMA_INCFILE_WRAP(ARMA_CBLAS)
26 #include ARMA_INCFILE_WRAP(ARMA_CLAPACK)
27 }
28
29 #undef ARMA_STR1
30 #undef ARMA_STR2
31 #undef ARMA_CBLAS
32 #undef ARMA_CLAPACK
33 #endif
34 #endif