12int main (
int argc,
char **argv )
14 int64_t rout=-1,info=0,m,n,k,lda,ldb,ldc;
15 double A[2] = {0.0,0.0},
27 printf(
"Checking if cblas_dgemm fails on parameter 4\n");
29 ALPHA, A, 1, B, 1, BETA, C, 1 );
32 printf(
"Checking if cblas_dgemm fails on parameter 5\n");
34 ALPHA, A, 1, B, 1, BETA, C, 1 );
37 printf(
"Checking if cblas_dgemm fails on parameter 9\n");
39 ALPHA, A, 1, B, 1, BETA, C, 2 );
42 printf(
"Checking if cblas_dgemm fails on parameter 11\n");
44 ALPHA, A, 1, B, 1, BETA, C, 1 );
48 printf(
"Checking if F77_dgemm fails on parameter 3\n");
49 m=
INVALID; n=0; k=0; lda=1; ldb=1; ldc=1;
51 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc );
54 m=0; n=
INVALID; k=0; lda=1; ldb=1; ldc=1;
55 printf(
"Checking if F77_dgemm fails on parameter 4\n");
57 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc );
60 printf(
"Checking if F77_dgemm fails on parameter 8\n");
61 m=2; n=0; k=0; lda=1; ldb=1; ldc=2;
63 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc );
66 printf(
"Checking if F77_dgemm fails on parameter 10\n");
67 m=0; n=0; k=2; lda=1; ldb=1; ldc=1;
69 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc );
void cblas_dgemm_64(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA, CBLAS_TRANSPOSE TransB, const int64_t M, const int64_t N, const int64_t K, const double alpha, const double *A, const int64_t lda, const double *B, const int64_t ldb, const double beta, double *C, const int64_t ldc)