31 #ifndef SHARK_LINALG_BLAS_KERNELS_CBLAS_CBLAS_INC_HPP 32 #define SHARK_LINALG_BLAS_KERNELS_CBLAS_CBLAS_INC_HPP 36 #ifdef __ASSERTMACROS__ //is AssertMacros already included? 39 #if __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 40 #warning "AssertMacros.h already included by some file. Disabling macros as otherwise compilation will fail" 56 #define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 60 #include <boost/intrusive/list.hpp> 64 #include <Accelerate/Accelerate.h> 81 #include <boost/mpl/bool.hpp> 82 #include "../traits.hpp" 88 template <
typename Ord>
struct storage_order {};
89 template<>
struct storage_order<row_major> {
90 enum ename { value = CblasRowMajor };
92 template<>
struct storage_order<column_major> {
93 enum ename { value = CblasColMajor };
98 #ifndef OPENBLAS_CONST 99 typedef void cblas_float_complex_type;
100 typedef void cblas_double_complex_type;
102 typedef float cblas_float_complex_type;
103 typedef double cblas_double_complex_type;