#include "cblas.h"
#include "cblas_f77.h"
Go to the source code of this file.
|
| void | cblas_dgemm (const CBLAS_LAYOUT layout, const CBLAS_TRANSPOSE TransA, const CBLAS_TRANSPOSE TransB, const CBLAS_INT M, const CBLAS_INT N, const CBLAS_INT K, const double alpha, const double *A, const CBLAS_INT lda, const double *B, const CBLAS_INT ldb, const double beta, double *C, const CBLAS_INT ldc) |
◆ F77_K
◆ F77_lda
◆ F77_ldb
◆ F77_ldc
◆ F77_M
◆ F77_N
◆ F77_TA
◆ F77_TB
◆ cblas_dgemm()
| void cblas_dgemm |
( |
const CBLAS_LAYOUT | layout, |
|
|
const CBLAS_TRANSPOSE | TransA, |
|
|
const CBLAS_TRANSPOSE | TransB, |
|
|
const CBLAS_INT | M, |
|
|
const CBLAS_INT | N, |
|
|
const CBLAS_INT | K, |
|
|
const double | alpha, |
|
|
const double * | A, |
|
|
const CBLAS_INT | lda, |
|
|
const double * | B, |
|
|
const CBLAS_INT | ldb, |
|
|
const double | beta, |
|
|
double * | C, |
|
|
const CBLAS_INT | ldc ) |
Definition at line 12 of file cblas_dgemm.c.
17{
18 char TA, TB;
19#ifdef F77_CHAR
21#else
22 #define F77_TA &TA
23 #define F77_TB &TB
24#endif
25
26#ifdef F77_INT
29#else
30 #define F77_M M
31 #define F77_N N
32 #define F77_K K
33 #define F77_lda lda
34 #define F77_ldb ldb
35 #define F77_ldc ldc
36#endif
37
42
44 {
48 else
49 {
50 cblas_xerbla(2,
"cblas_dgemm",
"Illegal TransA setting, %d\n", TransA);
53 return;
54 }
55
59 else
60 {
61 cblas_xerbla(3,
"cblas_dgemm",
"Illegal TransB setting, %d\n", TransB);
64 return;
65 }
66
67 #ifdef F77_CHAR
70 #endif
71
75 {
80 else
81 {
82 cblas_xerbla(2,
"cblas_dgemm",
"Illegal TransA setting, %d\n", TransA);
85 return;
86 }
90 else
91 {
92 cblas_xerbla(2,
"cblas_dgemm",
"Illegal TransB setting, %d\n", TransB);
95 return;
96 }
97 #ifdef F77_CHAR
100 #endif
101
104 }
105 else cblas_xerbla(1,
"cblas_dgemm",
"Illegal layout setting, %d\n", layout);
108 return;
109}
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)