There are three levels of BLAS operations,
-
Level 1
- Vector operations, e.g. y = /alpha x + y 向量操作 Level 2
- Matrix-vector operations, e.g. y = /alpha A x + /beta y 矩阵与向量操作 Level 3
- Matrix-matrix operations, e.g. C = /alpha A B + C 矩阵与矩阵的操作
Each routine has a name which specifies the operation, the type of matrices involved and their precisions. Some of the most common operations and their names are given below,
-
DOT
- scalar product, x^T y AXPY
- vector sum, /alpha x + y MV
- matrix-vector product, A x SV
- matrix-vector solve, inv(A)

这篇博客介绍了BLAS库的三个操作级别,包括不同类型的矩阵及其精度。常见操作如SGEMM(单精度矩阵乘法)和ZGEMM(双精度复数矩阵乘法)被详细解释。欲了解更多信息,可以参考提供的链接。
最低0.47元/天 解锁文章
686





