You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
742 B
41 lines
742 B
/* |
|
* |
|
* Copyright (c) Kresimir Fresl 2002 |
|
* |
|
* Distributed under the Boost Software License, Version 1.0. |
|
* (See accompanying file LICENSE_1_0.txt or copy at |
|
* http://www.boost.org/LICENSE_1_0.txt) |
|
* |
|
* Author acknowledges the support of the Faculty of Civil Engineering, |
|
* University of Zagreb, Croatia. |
|
* |
|
*/ |
|
|
|
#ifndef BOOST_NUMERIC_BINDINGS_BLAS_DETAIL_CBLAS_H |
|
#define BOOST_NUMERIC_BINDINGS_BLAS_DETAIL_CBLAS_H |
|
|
|
// |
|
// MKL-specific CBLAS include |
|
// |
|
#if defined BOOST_NUMERIC_BINDINGS_BLAS_MKL |
|
|
|
extern "C" { |
|
#include <mkl_cblas.h> |
|
#include <mkl_service.h> |
|
// |
|
// mkl_types.h defines P4 macro which breaks MPL, undefine it here. |
|
// |
|
#undef P4 |
|
} |
|
|
|
// |
|
// Default CBLAS include |
|
// |
|
#else |
|
|
|
extern "C" { |
|
#include <cblas.h> |
|
} |
|
|
|
#endif |
|
#endif
|
|
|