onnxruntime
915a9990 - [WebGPU] Unify core implementations of GEMM and MatMul (#24586)

Commit
203 days ago
[WebGPU] Unify core implementations of GEMM and MatMul (#24586) ### Description This PR extract core implementations into gemm_utils.cc which is used to generate shader both GEMM and Matmul ops. The core implemenations included scalar and vec4 versions of GEMM and Matmul. ### Motivation and Context There are many common codes for GEMM and Matmul, so we want to extra common code to unify their implementations. ![Blank diagram (1)](https://github.com/user-attachments/assets/45f8d7ac-6705-4cea-8b8c-966ded6a6ca5) --------- Co-authored-by: Yulong Wang <7679871+fs-eire@users.noreply.github.com>
Author
Parents
Loading