I'm reporting documentation inaccuracy for mkl_?omatcopy
https://software.intel.com/en-us/mkl-developer-reference-c-mkl-omatcopy
Definitions of `rows` and `cols` seem to be incorrect (at least for column-major calls)
`rows` and `cols` are documented to be the size of "matrix B (the destination matrix)" but they should be for the matrix A (the source matrix).
`lda` is correctly specified as the rows of A (for column major)
`ldb` is said to "must be at least equal to cols" for ordering = 'C' and trans = 'T'" which is only correct if `rows` and `cols` are defined for A.
I'm only speaking from my debugging experience for the case (ordering = 'C', trans = 'T'") so please validate this is true for all possible combinations.
Thanks,
Kesh Ikuma