Consistently use EIGEN_BLAS_FUNC in BLAS.

Previously, for a few functions, eithe BLASFUNC or, EIGEN_CAT
was being used. This change uses EIGEN_BLAS_FUNC consistently
everywhere.

Also introduce EIGEN_BLAS_FUNC_SUFFIX, which by default is
equal to "_", this allows the user to inject a new suffix as
needed.
This commit is contained in:
Sameer Agarwal
2019-02-27 11:30:58 -08:00
parent 9558f4c25f
commit c181dfb8ab
5 changed files with 13 additions and 9 deletions

View File

@@ -18,5 +18,5 @@
#include "level2_real_impl.h"
#include "level3_impl.h"
float BLASFUNC(sdsdot)(int* n, float* alpha, float* x, int* incx, float* y, int* incy)
float EIGEN_BLAS_FUNC(dsdot)(int* n, float* alpha, float* x, int* incx, float* y, int* incy)
{ return double(*alpha) + BLASFUNC(dsdot)(n, x, incx, y, incy); }