BLISlab是一个开源教学项目, 教你一步一步优化矩阵乘。
本视频主讲人:
张先轶(中科院博士,OpenBLAS开源项目发起人,PerfXLab创始人&CEO)
BLISlab: A Sandbox for Optimizing GEMM
Matrix-matrix multiplication is a fundamental operation of great importance to scientific computing and, increasingly, machine learning. It is a simple enough concept to be introduced in a typical high school algebra course yet in practice important enough that its implementation on computers continues to be an active research topic. This note describes a set of exercises that use this operation to illustrate how high performance can be attained on modern CPUs with hierarchical memories (multiple caches). It does so by building on the insights that underly the BLAS-like Library Instantiation Software (BLIS) framework by exposing a simplified “sandbox” that mimics the implementation in BLIS. As such, it also becomes a vehicle for the “crowd sourcing” of the optimization of BLIS. We call this set of exercises “ BLISlab”.
拓展资料:
blislab的github站点
https://github.com/ybNo1/blislab
OpenBLAS gemm从零入门
https://zhuanlan.zhihu.com/p/65436463
收起