Open main menu

CDOT Wiki β

Changes

GPU621/Intel oneMKL - Math Kernel Library

180 bytes added, 16:12, 1 December 2021
MKL Testing
The dgemm routine can perform several calculations, so here is two same soulutions to calculate.
'''C = alpha *A * B + beta * C<br />'''Integers indicating the size of the matrices:<br />A: m rows by k columns<br />B: k rows by n columns<br />C: m rows by n columns<br />'''alpha'''<br />Real value used to scale the product of matrices A and B.<br />'''A'''<br />Array used to store matrix A.<br />'''k'''<br />Leading dimension of array A, or the number of elements between successive rows (for row major storage) in memory. In the case of this exercise the leading dimension is the same as the number of columns.<br />'''B'''<br />Array used to store matrix B.<br />'''n'''<br />Leading dimension of array B, or the number of elements between successive rows (for row major storage) in memory. In the case of this exercise the leading dimension is the same as the number of columns.<br />'''beta'''<br />Real value used to scale matrix C.<br />'''C'''<br />Array used to store matrix C.<br />'''n'''<br />Leading dimension of array C, or the number of elements between successive rows (for row major storage) in memory. In the case of this exercise the leading dimension is the same as the number of columns.<br />
serial version<br />
37
edits