Skip to content

feat: add reshape matmul fusion and refine H2D logic#188

Merged
ronnie-devtech merged 4 commits intoMooreThreads:mainfrom
welo516:ronnie-dev
Apr 24, 2026
Merged

feat: add reshape matmul fusion and refine H2D logic#188
ronnie-devtech merged 4 commits intoMooreThreads:mainfrom
welo516:ronnie-dev

Conversation

@welo516
Copy link
Copy Markdown
Contributor

@welo516 welo516 commented Apr 24, 2026

What changed

  • add reshape-matmul operator and graph fusion support, including new fusion and operator tests
  • refine H2D/feed handling in device and optimizer paths to distinguish transfer logic more clearly
  • add pb/pbtxt dump support in graph-related paths
  • fix MUSA scalar handling in add-related kernels to avoid host-side dereference

Why

These commits extend fusion coverage around reshape+matmul patterns, improve data-transfer behavior around H2D flows, and fix a scalar access bug in MUSA add execution.

Impact

This branch introduces new fusion/operator functionality and changes low-level execution paths in graph optimization, device transfer handling, and math kernels. The included tests cover reshape-matmul fusion plus pack/strided-slice behavior.

Validation

  • Not run locally in this session

@welo516 welo516 marked this pull request as ready for review April 24, 2026 03:32
@welo516 welo516 changed the title [codex] Add reshape-matmul fusion and improve H2D handling feat: add reshape matmul fusion and refine H2D logic Apr 24, 2026
@ronnie-devtech ronnie-devtech merged commit 9d5b6ac into MooreThreads:main Apr 24, 2026
1 of 2 checks passed
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.

2 participants