AXI4MLIR: User-Driven Automatic Host Code Generation for Custom AXI-Based Accelerators
Nicolas Bohm Agostini, Jude Haris, Perry Gibson, Malith Jayaweera,, Norm Rubin, Antonino Tumeo, Jos\'e L. Abell\'an, Jos\'e Cano, David Kaeli

TL;DR
AXI4MLIR is a compiler framework extension that automates host code generation for custom AXI accelerators, improving performance and reducing cache references in linear algebra workloads.
Contribution
It introduces new MLIR attributes and transformations enabling user-driven, automated host-accelerator driver code generation for AXI-based accelerators.
Findings
Up to 56% reduction in CPU cache references
Up to 1.65x speedup over manual driver code
Versatile across different accelerator types
Abstract
This paper addresses the need for automatic and efficient generation of host driver code for arbitrary custom AXI-based accelerators targeting linear algebra algorithms, an important workload in various applications, including machine learning and scientific computing. While existing tools have focused on automating accelerator prototyping, little attention has been paid to the host-accelerator interaction. This paper introduces AXI4MLIR, an extension of the MLIR compiler framework designed to facilitate the automated generation of host-accelerator driver code. With new MLIR attributes and transformations, AXI4MLIR empowers users to specify accelerator features (including their instructions) and communication patterns and exploit the host memory hierarchy. We demonstrate AXI4MLIR's versatility across different types of accelerators and problems, showcasing significant CPU cache…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Ferroelectric and Negative Capacitance Devices · Numerical Methods and Algorithms
