Changeset 630191c for src/aubio_priv.h
- Timestamp:
- Sep 21, 2018, 5:50:03 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- fe05d1f
- Parents:
- 5447a26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/aubio_priv.h
r5447a26 r630191c 71 71 #endif 72 72 73 #if def HAVE_ACCELERATE73 #if defined(HAVE_ACCELERATE) 74 74 #define HAVE_ATLAS 1 75 #define HAVE_BLAS 1 75 76 #include <Accelerate/Accelerate.h> 76 77 #elif defined(HAVE_ATLAS_CBLAS_H) 78 #elif defined(HAVE_BLAS) 79 #if defined(HAVE_ATLAS_CBLAS_H) 77 80 #define HAVE_ATLAS 1 78 81 #include <atlas/cblas.h> 82 #elif defined(HAVE_OPENBLAS_CBLAS_H) 83 #include <openblas/cblas.h> 84 #elif defined(HAVE_CBLAS_H) 85 #include <cblas.h> 86 #endif 79 87 #endif 80 88 … … 112 120 #endif /* HAVE_ACCELERATE */ 113 121 122 #if defined(HAVE_BLAS) 123 #ifndef HAVE_AUBIO_DOUBLE 114 124 #ifdef HAVE_ATLAS 115 #ifndef HAVE_AUBIO_DOUBLE116 125 #define aubio_catlas_set catlas_sset 126 #endif /* HAVE_ATLAS */ 117 127 #define aubio_cblas_copy cblas_scopy 118 128 #define aubio_cblas_swap cblas_sswap 119 129 #define aubio_cblas_dot cblas_sdot 120 130 #else /* HAVE_AUBIO_DOUBLE */ 131 #ifdef HAVE_ATLAS 121 132 #define aubio_catlas_set catlas_dset 133 #endif /* HAVE_ATLAS */ 122 134 #define aubio_cblas_copy cblas_dcopy 123 135 #define aubio_cblas_swap cblas_dswap 124 136 #define aubio_cblas_dot cblas_ddot 125 137 #endif /* HAVE_AUBIO_DOUBLE */ 126 #endif /* HAVE_ ATLAS */138 #endif /* HAVE_BLAS */ 127 139 128 140 #if defined HAVE_INTEL_IPP
Note: See TracChangeset
for help on using the changeset viewer.