ブラウザのNumPyがOpenBLASで最大64.89倍高速化
Faster NumPy in the Browser

Emscripten-forgeのNumPyパッケージがWebAssembly版OpenBLASをリンクし、np.matmulがn=1024でfloat32は約30.92倍、float64は約14.90倍高速になった。さらに実験版のOpenBLAS 0.3.35ではSIMD128カーネルとオプションのRelaxed SIMDにより、最終的にfloat32で64.89倍、float64で30.07倍に達する。FortranコンパイラFlangのwasm32対応など、長年の課題を解決した成果だ。
Without BLAS, np.matmul throughput decreases with n (naive GEMM, cache misses). With OpenBLAS 0.3.34 it increases with n.