WideSA: A High Array Utilization Mapping Scheme for Uniform Recurrences on the Versal ACAP Architecture

Tuo Dai, Bizhao Shi, Guojie LuoarXiv 2024 · DOI

Introduction

The AMD/Xilinx Versal Adaptive Compute Acceleration Platform (ACAP) represents a significant leap in heterogeneous computing, integrating high-performance VLIW-based AI Engines (AIEs) with traditional FPGA programmable logic (PL) and a dedicated Network-on-Chip (NoC). Despite this raw power, achieving high hardware utilization remains a formidable challenge. Developers often encounter a "utilization wall" where the complexity of placement and routing prevents the full use of available AIE cores, leading to "dark silicon"—expensive hardware that remains idle due to communication bottlenecks.

WideSA is a novel mapping framework designed to overcome these limitations. By leveraging polyhedral-based systolic array mapping and a routing-aware I/O assignment algorithm, WideSA achieves over 95% hardware utilization, significantly outperforming existing state-of-the-art compilers.

The Versal ACAP Architecture and the Utilization Wall

The Versal architecture (shown in Figure 1) relies on a complex interplay between the AIE array, the PL, and the NoC. Standard compilation tools often struggle with high-density designs because they rely on Integer Linear Programming (ILP) solvers that scale poorly. As the number of active AIE cores increases, the search space for valid routing paths through the NoC expands exponentially, often resulting in long compilation times or failure to find a valid route.

The Versal ACAP architecture featuring the AIE array, Programmable Logic (PL), and Network-on-Chip (NoC).

Methodology: Structured Regularity

WideSA addresses the placement and routing problem by imposing a structured systolic array pattern on the computation. By forcing data to flow through the grid in a predictable, rhythmic fashion, the framework simplifies the underlying mathematical problem from an arbitrary search to a regular mapping.

Polyhedral-Based Systolic Mapping

The framework utilizes the polyhedral model to automatically transform nested loops into space-time coordinates. This process involves four critical stages:

  1. Space-Time Transformation: Mapping loop iterations to specific physical cores and time steps.
  2. Array Partitioning: Breaking down large computations to fit the physical dimensions of the AIE grid.
  3. Latency Hiding: Overlapping communication with computation to maximize throughput.
  4. Multi-threading: Utilizing the AIE's capabilities to handle multiple data streams simultaneously.
The WideSA mapping flow, illustrating the multi-stage transformation from nested loops to a hardware-optimized systolic array.

Routing-Aware PLIO Assignment

A key innovation of WideSA is its "Routing-Aware PLIO Assignment" algorithm. This heuristic greedy approach calculates potential congestion on the NoC before final placement. By intelligently assigning I/O ports (PLIOs) between the FPGA fabric and the AIE array, the system balances data traffic and ensures that high-density designs can actually be routed and executed at high clock speeds.

Evaluation and Key Results

The framework was evaluated on a VCK5000 board using standard benchmarks, including Matrix Multiplication (MM), 2D Convolution, 2D FFT, and FIR filters.

  • Throughput: For float-based matrix multiplication, WideSA achieved 4.15 TOPS, a 1.11x improvement over the CHARM framework.
  • Utilization: While industry-standard solutions like Vitis-AI DPU often reach only ~64% utilization, WideSA successfully utilized over 95% of the AIE array.
  • Energy Efficiency: WideSA delivered up to 2.25x higher energy efficiency (TOPS/Watt) compared to traditional PL-only FPGA designs, demonstrating the inherent power advantages of AIEs when mapped correctly.

Conclusion and Future Work

WideSA demonstrates that high utilization on complex ACAP architectures is achievable through structured systolic mapping and communication-aware scheduling. However, as core counts increase, the system eventually hits a "Memory Wall" where external DRAM bandwidth becomes the primary bottleneck. Future work will focus on integrating WideSA into the MLIR-AIE ecosystem and exploring architectures with higher memory bandwidth, such as HBM-enabled Versal variants, to further push the boundaries of high-performance heterogeneous computing.

Summary updated

BibTeX
@misc{dai2024widesa,
  author = {Tuo Dai and Bizhao Shi and Guojie Luo},
  title = {{WideSA: A High Array Utilization Mapping Scheme for Uniform Recurrences on the Versal ACAP Architecture}},
  year = {2024},
  eprint = {2401.16792},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.16792},
}
Figure