"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/armadillo_bits/op_dot_meat.hpp" between
armadillo-10.8.2.tar.xz and armadillo-11.0.0.tar.xz

About: Armadillo is a C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use.

op_dot_meat.hpp  (armadillo-10.8.2.tar.xz):op_dot_meat.hpp  (armadillo-11.0.0.tar.xz)
skipping to change at line 424 skipping to change at line 424
const eT alpha = eT(1); const eT alpha = eT(1);
const eT beta = eT(0); const eT beta = eT(0);
eT result[2]; // paranoia: using two elements instead of one eT result[2]; // paranoia: using two elements instead of one
//blas::gemv(&trans, &m, &n, &alpha, A, &lda, B, &inc, &beta, &result[0], &inc); //blas::gemv(&trans, &m, &n, &alpha, A, &lda, B, &inc, &beta, &result[0], &inc);
blas::gemv(&trans, &m, &n, &alpha, A, &m, B, &inc, &beta, &result[0], &inc ); blas::gemv(&trans, &m, &n, &alpha, A, &m, B, &inc, &beta, &result[0], &inc );
return result[0]; return result[0];
} }
#elif defined(ARMA_USE_ATLAS)
{
// TODO: use dedicated atlas functions cblas_cdotc_sub() and cblas_zdotc_s
ub() and retune threshold
return op_cdot::direct_cdot_arma(n_elem, A, B);
}
#else #else
{ {
return op_cdot::direct_cdot_arma(n_elem, A, B); return op_cdot::direct_cdot_arma(n_elem, A, B);
} }
#endif #endif
} }
} }
template<typename T1, typename T2> template<typename T1, typename T2>
arma_hot arma_hot
 End of changes. 1 change blocks. 
7 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)