Sunday, January 29, 2017

BLAS clarifications

found the parameters lda, ldb and ldc very hard to interpret.
Fortunately, found this article: https://www.christophlassner.de/using-blas-from-c-with-row-major-data.html

that had a key sentence:
  • Matrices A and B, each followed by its leading dimension descriptor. This is the length of one row in row-major order, or the length of one column in column-major order,
  • a scalar factor β with which the elements of the matrix C are multiplied, before its contents are added to the result of 

thanks dude!

No comments: