11 #define SGEMM_BATCH sgemm_batch_ 12 #define DGEMM_BATCH dgemm_batch_ 13 #define CGEMM_BATCH cgemm_batch_ 14 #define ZGEMM_BATCH zgemm_batch_ 32 #define SGEMM_BATCH sgemm_batch 33 #define DGEMM_BATCH dgemm_batch 34 #define CGEMM_BATCH cgemm_batch 35 #define ZGEMM_BATCH zgemm_batch 52 double DDOT(
int * n,
const double * dX,
53 int * incX,
const double * dY,
57 void SGEMM(
const char *,
73 void DGEMM(
const char *,
89 void CGEMM(
const char *,
94 const std::complex<float> *,
95 const std::complex<float> *,
97 const std::complex<float> *,
99 const std::complex<float> *,
100 std::complex<float> *,
104 void ZGEMM(
const char *,
109 const std::complex<double> *,
110 const std::complex<double> *,
112 const std::complex<double> *,
114 const std::complex<double> *,
115 std::complex<double> *,
120 void SAXPY(
const int * n,
128 template <
typename dtype>
129 void gemm(
const char *,
145 void SAXPY(
const int * n,
154 void DAXPY(
const int * n,
162 void CAXPY(
const int * n,
163 std::complex<float> * dA,
164 const std::complex<float> * dX,
166 std::complex<float> * dY,
170 void ZAXPY(
const int * n,
171 std::complex<double> * dA,
172 const std::complex<double> * dX,
174 std::complex<double> * dY,
178 void SCOPY(
const int * n,
186 void DCOPY(
const int * n,
194 void ZCOPY(
const int * n,
195 const std::complex<double> * dX,
197 std::complex<double> * dY,
201 void SSCAL(
const int * n,
207 void DSCAL(
const int * n,
213 void CSCAL(
const int * n,
214 std::complex<float> * dA,
215 std::complex<float> * dX,
219 void ZSCAL(
const int * n,
220 std::complex<double> * dA,
221 std::complex<double> * dX,
225 #ifdef USE_BATCH_GEMM 269 const std::complex<float> *,
270 std::complex<float> **,
272 std::complex<float> **,
274 const std::complex<float> *,
275 std::complex<float> **,
287 const std::complex<double> *,
288 std::complex<double> **,
290 std::complex<double> **,
292 const std::complex<double> *,
293 std::complex<double> **,
298 template <
typename dtype>
314 #endif //USE_BATCH_GEMM
void SSCAL(const int *n, float *dA, float *dX, const int *incX)
void CAXPY(const int *n, std::complex< float > *dA, const std::complex< float > *dX, const int *incX, std::complex< float > *dY, const int *incY)
void ZSCAL(const int *n, std::complex< double > *dA, std::complex< double > *dX, const int *incX)
void DGEMM(const char *, const char *, const int *, const int *, const int *, const double *, const double *, const int *, const double *, const int *, const double *, double *, const int *)
double DDOT(int *n, const double *dX, int *incX, const double *dY, int *incY)
void SCOPY(const int *n, const float *dX, const int *incX, float *dY, const int *incY)
void ZAXPY(const int *n, std::complex< double > *dA, const std::complex< double > *dX, const int *incX, std::complex< double > *dY, const int *incY)
void CSCAL(const int *n, std::complex< float > *dA, std::complex< float > *dX, const int *incX)
void CGEMM(const char *, const char *, const int *, const int *, const int *, const std::complex< float > *, const std::complex< float > *, const int *, const std::complex< float > *, const int *, const std::complex< float > *, std::complex< float > *, const int *)
void DCOPY(const int *n, const double *dX, const int *incX, double *dY, const int *incY)
void DAXPY(const int *n, double *dA, const double *dX, const int *incX, double *dY, const int *incY)
void DSCAL(const int *n, double *dA, double *dX, const int *incX)
void SAXPY(const int *n, float *dA, const float *dX, const int *incX, float *dY, const int *incY)
void gemm(const char *, const char *, const int *, const int *, const int *, const dtype *, const dtype *, const int *, const dtype *, const int *, const dtype *, dtype *, const int *)
void gemm_batch(char taA, char taB, int l, int m, int n, int k, dtype alpha, dtype const *A, dtype const *B, dtype beta, dtype *C)
void ZGEMM(const char *, const char *, const int *, const int *, const int *, const std::complex< double > *, const std::complex< double > *, const int *, const std::complex< double > *, const int *, const std::complex< double > *, std::complex< double > *, const int *)
void SGEMM(const char *, const char *, const int *, const int *, const int *, const float *, const float *, const int *, const float *, const int *, const float *, float *, const int *)
void ZCOPY(const int *n, const std::complex< double > *dX, const int *incX, std::complex< double > *dY, const int *incY)