llama.cpp
hexagon: MUL_MAT and MUL_MAT_ID fusion and fixes
#28202
Merged

hexagon: MUL_MAT and MUL_MAT_ID fusion and fixes #28202

max-krasnyansky
max-krasnyansky max-krasnyansky requested a review 93 days ago
github-actions github-actions added ggml
github-actions github-actions added Hexagon
max-krasnyansky
max-krasnyansky max-krasnyansky added merge ready
lhez
lhez approved these changes on 2026-09-01
max-krasnyansky hex-mm: fuse QKV and FFN matmuls that land on HMX
7ed8c422
max-krasnyansky hex-mm: remove hardcoded ne[1] < 32K restriction
a7edfb86
max-krasnyansky hex-get-rows: explicitly reject repacked Q8_0 just in case somebody d…
a76ad9fe
max-krasnyansky hex-mm: correct overhead sizing to make sure we dont exceed vtcm budg…
0d7eae5a
max-krasnyansky hex-mm: fuse MUL_MAT_ID into MUL_MAT_ID_NX (2x,3x,...) where possible
52dabe28
max-krasnyansky hex-fusion: update opbatch and opqueue sizing to acount for new fusio…
784b3c48
max-krasnyansky hex-bufs: sort buffers while finalizing opbatch, helps avoid va space…
a183b168
max-krasnyansky hex-bufs: add simple va defrag to make sure we dont abort just becaus…
f7112226
max-krasnyansky hex-mm: replaced more scalar divs with fastdiv and minor cleanup
714b1e40
max-krasnyansky hex-mm: tighten up supported fusion checks to exactly match supported…
5dd61ebf
max-krasnyansky max-krasnyansky force pushed to 5dd61ebf 92 days ago
lhez
lhez approved these changes on 2026-09-02
ggerganov ggerganov merged 960dffab into master 92 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone