utilities  0.0
cblas.h
Go to the documentation of this file.
1 #ifndef MOLPRO_DEPENDENCIES_UTILITIES_SRC_MOLPRO_CBLAS_H_
2 #define MOLPRO_DEPENDENCIES_UTILITIES_SRC_MOLPRO_CBLAS_H_
3 
8 #if __has_include(<mkl_lapacke.h>) && ! defined(NO_USE_MKL)
9 #include <mkl_cblas.h>
10 #define HAVE_CBLAS
11 #define HAVE_MKL
12 #elif __has_include(<Accelerate/../Frameworks/vecLib.framework/Headers/cblas.h>)
13 #include <Accelerate/../Frameworks/vecLib.framework/Headers/cblas.h>
14 #define HAVE_CBLAS
15 #define HAVE_ACCELERATE
16 #elif __has_include(<cblas.h>)
17 #include <cblas.h>
18 #define HAVE_CBLAS
19 #else
20 #include "cblas_generic.h"
21 #define HAVE_CBLAS
22 #endif
23 
24 #endif //MOLPRO_DEPENDENCIES_UTILITIES_SRC_MOLPRO_CBLAS_H_