10 int main (
int argc,
char **argv )
12 int rout=-1,info=0,m,n,k,lda,ldb,ldc;
13 double A[2] = {0.0,0.0},
25 printf(
"Checking if cblas_dgemm fails on parameter 4\n");
27 ALPHA, A, 1, B, 1, BETA, C, 1 );
30 printf(
"Checking if cblas_dgemm fails on parameter 5\n");
32 ALPHA, A, 1, B, 1, BETA, C, 1 );
35 printf(
"Checking if cblas_dgemm fails on parameter 9\n");
37 ALPHA, A, 1, B, 1, BETA, C, 2 );
40 printf(
"Checking if cblas_dgemm fails on parameter 11\n");
42 ALPHA, A, 1, B, 1, BETA, C, 1 );
46 printf(
"Checking if F77_dgemm fails on parameter 3\n");
47 m=
INVALID; n=0; k=0; lda=1; ldb=1; ldc=1;
49 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc );
52 m=0; n=
INVALID; k=0; lda=1; ldb=1; ldc=1;
53 printf(
"Checking if F77_dgemm fails on parameter 4\n");
55 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc );
58 printf(
"Checking if F77_dgemm fails on parameter 8\n");
59 m=2; n=0; k=0; lda=1; ldb=1; ldc=2;
61 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc );
64 printf(
"Checking if F77_dgemm fails on parameter 10\n");
65 m=0; n=0; k=2; lda=1; ldb=1; ldc=1;
67 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc );
int main(int argc, char **argv)
void cblas_dgemm(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, CBLAS_TRANSPOSE TransB, const int M, const int N, const int K, const double alpha, const double *A, const int lda, const double *B, const int ldb, const double beta, double *C, const int ldc)