This exercise illustrates how to call the dgemm routine. An actual application would make use of the result of the matrix multiplication.
This call to the
dgemm routine multiplies the matrices:
cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
m, n, k, alpha, A, k, B, n, beta, C, n);
The arguments provide options for how Intel MKL performs the operation. In this case:
CblasRowMajor Indicates that the matrices are stored in row major order, with the elements of each row of the matrix stored contiguously as shown in the figure above.
CblasNoTrans Enumeration type indicating that the matrices A and B should not be transposed or conjugate transposed before multiplication.
Source credit: Intel