I am calling cblas_sgemm using the following parameters:
- order: CblasRowMajor
- transA, transB: either CblasTrans or CblasNoTrans
- M: the number of rows (height) of the matrix op(A) and of the matrix C
- N: the number of columns (width) of the matrix op(B) and of the matrix C
- K: the number of columns (width) of the matrix op(A) and the number of rows (height) of the matrix op(B)
- alpha: scalar
- A: pointer to matrix A
- LDA: When transA = CblasNoTrans then LDA = M, otherwise LDA = K
- B: pointer to matrix B
- LDB: when transB = CblasNoTrans then LDB = K, otherwise LDB = N
- beta: scalar
- C: pointer to matrix C (bias on entry and the result on exit)
- LDC = M
where, op(M) = M if transM is CblasNoTrans, and Transpose(M) otherwise
The parameters are correct (according to the documentation) but I am getting am error: "** On entry to SGEMM, parameter number X had an illegal value" - How do I fix this error?