7 #ifndef JADE_BLAS_HPP__
8 #define JADE_BLAS_HPP__
10 #include "jade.assert.hpp"
17 template <
typename TValue>
85 #ifndef DOXYGEN_IGNORE
99 return ::cblas_ddot(n, x, incx, y, incy);
111 assert(x !=
nullptr);
112 assert(y !=
nullptr);
114 return ::cblas_sdot(n, x, incx, y, incy);
120 const layout_type Order,
121 const transpose_type TransA,
122 const transpose_type TransB,
135 assert(A !=
nullptr);
136 assert(B !=
nullptr);
137 assert(C !=
nullptr);
140 Order, TransA, TransB, M, N, K, alpha,
141 A, lda, B, ldb, beta, C, ldc);
147 const layout_type Order,
148 const transpose_type TransA,
149 const transpose_type TransB,
162 assert(A !=
nullptr);
163 assert(B !=
nullptr);
164 assert(C !=
nullptr);
167 Order, TransA, TransB, M, N, K, alpha,
168 A, lda, B, ldb, beta, C, ldc);
174 const layout_type order,
175 const transpose_type trans,
187 assert(a !=
nullptr);
188 assert(x !=
nullptr);
189 assert(y !=
nullptr);
191 ::cblas_dgemv(order, trans, m, n, alpha,
192 a, lda, x, incx, beta, y, incy);
198 const layout_type order,
199 const transpose_type trans,
211 assert(a !=
nullptr);
212 assert(x !=
nullptr);
213 assert(y !=
nullptr);
215 ::cblas_sgemv(order, trans, m, n, alpha,
216 a, lda, x, incx, beta, y, incy);
219 #endif // DOXYGEN_IGNORE
222 #endif // JADE_BLAS_HPP__