Learning OpenBlas

编译

从OpenBlas Home Page 上下载源码,make, make install

使用

level 1 向量-向量 操作

cblas_daxpy实现了求数乘和 \(y= ax+y\) 操作。

level 2 矩阵-向量 操作

cblas_dger实现了 \(A = \alpha xy^T + A \) 操作。

level 3 矩阵-矩阵 操作

cblas_dgemm 执行 \( C = \alpha op(A)op(B) + \beta C\) 操作。
附一张blas函数表

参考

-stanford·using OpenBlas -OpenBlas User Manual

Learning OpenBlas

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax