llama.cpp
hexagon: overhaul of buffer and DMA handling to support 64bit mappings and general improvements
#29197
Merged

hexagon: overhaul of buffer and DMA handling to support 64bit mappings and general improvements #29197

ggerganov merged 34 commits into ggml-org:master from qualcomm:hexagon-dma64
max-krasnyansky
max-krasnyansky hex-dma64: enable support extended buffer mappings and 64bit dma
9903c0c8
max-krasnyansky hex-cpy: fix improper rebase with the fixes for cont. tensors
6b728140
max-krasnyansky hex-dma-cpy: update CPY to use safe dma rows/size limits
604223b8
max-krasnyansky hex-mmap: bump number of mmaps to 64 to allow avoid eviction in large…
e48f5821
max-krasnyansky hex-dma: add support for the secondary ring as a fallback for too-lar…
9a1fb788
max-krasnyansky hex-rope: fix freq_factors access with 64bit dma
b8109971
max-krasnyansky hex-dma: audit all ops for proper use/gards for 64bit addresses
d4a315d8
max-krasnyansky hex-dma64: uninline glu-compute funcs to avoid register pressure due …
f89cdce2
max-krasnyansky hex-dma64: refactor binary ops to separate dma loops
cac513fd
max-krasnyansky hex-devel: add inspect script to help with dbg and analysis
6607a1e2
max-krasnyansky hex-dma: refactor dma-pipelines in unary-ops
9b12680b
max-krasnyansky hex-dma: rewrite softmax to use dma
542f8562
max-krasnyansky hex-dma: rewrite GDN dma loops and improve HVX register usage
67bef72f
max-krasnyansky hex-gdn: fuse GDN+CPY
f2eb5bfb
max-krasnyansky hex-mm: factor out HVX solver
bf73ee2a
max-krasnyansky hex-mm: remove hvx-flat kernels, the chunked version now handles vtcm…
109e67ba
max-krasnyansky hex-buffs: reject huge buffer allocations that we cannot memory map
3e96326a
max-krasnyansky hex-inspect: add logic to look for float promo calls
0c5cffc1
max-krasnyansky hex-mm: reduce HVX register spills in HVX prompt kernels
db1fa9fa
max-krasnyansky hex-bufs: do not double count buffers from tensors in the same op
f5a3c71d
max-krasnyansky hex-roll: fix merge conflict
f63afec8
max-krasnyansky hex-dma: reroute all matmul ddr kernels to new chunked dma/vtcm kernels
2a5d63e6
max-krasnyansky hex-dev: update developer docs to include inspection for register spi…
7786d1e6
max-krasnyansky hex-ops: forgot to add new headers
10952159
max-krasnyansky hex-softmax: fix gpt-oss dims
7f412373
max-krasnyansky hex-dma64: cleanup dma_addr_t casts
c11312e5
max-krasnyansky hex-dma64: add support for dma/vtcm for flash-atten with sinks
136e4615
max-krasnyansky hex-mm-add: fix MUL_MAT+ADD fusion with bias.weights in extended bufs
e12a2bd7
max-krasnyansky hex-add-id: add support for dma for src1 (exp. table)
57fc291e
max-krasnyansky hex-dma: imrpove v73 fallback paths
b6c7ae92
max-krasnyansky hex-bufs: do not drop extended mappings during va defrag
55aa1f04
max-krasnyansky hex-scripts: fix flake8 warnings
6b957016
max-krasnyansky max-krasnyansky requested a review from ggerganov ggerganov 73 days ago
max-krasnyansky max-krasnyansky requested a review 73 days ago
github-actions github-actions added documentation
github-actions github-actions added testing
github-actions github-actions added ggml
github-actions github-actions added Hexagon
max-krasnyansky hex-docs: fix editor-config warnings
42bce9bc
max-krasnyansky hex-inspect: fix warnings from ty
3357f177
max-krasnyansky max-krasnyansky changed the title hexagon: overhaul of the buffer and DMA handling to support 64bit mappings and general improvements hexagon: overhaul of buffer and DMA handling to support 64bit mappings and general improvements 73 days ago
max-krasnyansky
max-krasnyansky max-krasnyansky added merge ready
lhez
lhez approved these changes on 2026-09-21
ggerganov ggerganov merged 0c3626ec into master 73 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone