[2606.11158] Defeat the Heap: Zero-Copy Data Movement in AXI4MLIR
-->
Computer Science > Hardware Architecture
arXiv:2606.11158 (cs)
[Submitted on 9 Jun 2026]
Title:Defeat the Heap: Zero-Copy Data Movement in AXI4MLIR
Authors:Elam Cohavi, Nicolas Bohm Agostini, Jude Haris, Antonino Tumeo, David Kaeli, José Cano<br>View a PDF of the paper titled Defeat the Heap: Zero-Copy Data Movement in AXI4MLIR, by Elam Cohavi and 5 other authors
View PDF<br>HTML (experimental)
Abstract:As custom hardware accelerators become increasingly central to machine learning workloads, efficient data transfer is critical for maximizing accelerator performance on linear algebra kernels. AXI4MLIR, an extension of the Multi-Level Intermediate Representation (MLIR) compiler framework for automated generation of host-accelerator driver code, incurs significant runtime overhead due to non-zero-copy CPU-accelerator data movement. During transfers from the host to the accelerator, data is copied from heap-allocated memory buffers into contiguous Direct Memory Access (DMA)-mapped buffers. This work identifies this copy as a redundant staging operation and eliminates it through zero-copy data movement. The optimization extends accel, an MLIR dialect introduced by AXI4MLIR, and implements lowering support that allocates buffers directly within DMA-mapped memory, thereby omitting the staging copy. We evaluate the proposed scheme using a configurable matrix-matrix multiplication accelerator and show that the zero-copy optimization reduces main memory data movement by up to 2x, increasing overall accelerator utilization.
Comments:<br>Accepted to the 7th Compilers for Machine Learning Workshop (C4ML), co-located with CGO 2026
Subjects:
Hardware Architecture (cs.AR); Programming Languages (cs.PL)
Cite as:<br>arXiv:2606.11158 [cs.AR]
(or<br>arXiv:2606.11158v1 [cs.AR] for this version)
https://doi.org/10.48550/arXiv.2606.11158
Focus to learn more
arXiv-issued DOI via DataCite (pending registration)
Submission history<br>From: José Cano [view email]<br>[v1]<br>Tue, 9 Jun 2026 17:40:13 UTC (81 KB)
Full-text links:<br>Access Paper:
View a PDF of the paper titled Defeat the Heap: Zero-Copy Data Movement in AXI4MLIR, by Elam Cohavi and 5 other authors<br>View PDF<br>HTML (experimental)<br>TeX Source
view license
Current browse context:
cs.AR
next >
new<br>recent<br>| 2026-06
Change to browse by:
cs<br>cs.PL
References & Citations
NASA ADS<br>Google Scholar
Semantic Scholar
export BibTeX citation<br>Loading...
BibTeX formatted citation
×
loading...
Data provided by:
Bookmark
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos
Demos
Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
Author
Venue
Institution
Topic
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs .
Which authors of this paper are endorsers? |<br>Disable MathJax (What is MathJax?)