Skip to content

Conversation

@Jiawei-Shao
Copy link
Contributor

@Jiawei-Shao Jiawei-Shao commented Nov 28, 2025

Description

Get data from bias and output with GetByOffset() instead of direct access to the array in gemm_utils.cc

Motivation and Context

Because when the input bias or output output is very large, both bias and output may be split into multiple buffers, we must query the data from bias and output with GetByOffset() or GetByIndices() which implement the logic to get the correct split buffer.

@Jiawei-Shao
Copy link
Contributor Author

@qjia7 PTAL, thanks!

qjia7
qjia7 previously approved these changes Dec 1, 2025
@Jiawei-Shao Jiawei-Shao changed the title [webgpu] Get data from bias with GetByOffset() in gemm_utils.cc [webgpu] Get data with GetByOffset() in gemm_utils.cc Dec 2, 2025
@Jiawei-Shao Jiawei-Shao requested review from fs-eire and qjia7 December 2, 2025 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants