@ -1,7 +1,7 @@
#include "mkl_cblas.h"
#include "wrapper_common.h"
#if GCC
#if __cplusplus
extern "C" {
#endif
DLLEXPORT void s_axpy(const MKL_INT n, const float alpha, const float x[], float y[]){
@ -84,6 +84,6 @@ DLLEXPORT void z_matrix_multiply(CBLAS_TRANSPOSE transA, CBLAS_TRANSPOSE transB,
cblas_zgemm(CblasColMajor, transA, transB, m, n, k, &alpha, x, lda, y, ldb, &beta, c, m);
}
#include "mkl.h"
@ -25,6 +25,6 @@ DLLEXPORT MKL_INT64 peak_mem_usage(int mode) {
return mkl_peak_mem_usage(mode);
#include "mkl_vml.h"
DLLEXPORT void s_vector_add( const int n, const float x[], const float y[], float result[] ){
@ -67,6 +67,6 @@ DLLEXPORT void z_vector_multiply( const int n, const MKL_Complex16 x[], const MK
DLLEXPORT void z_vector_divide( const int n, const MKL_Complex16 x[], const MKL_Complex16 y[], MKL_Complex16 result[] ){
vzDiv( n, x, y, result );