SparseAdapt: Runtime Control for Sparse Linear Algebra on a Reconfigurable Accelerator

Subhankar Pal, Aporva Amarnath, Siying Feng, Michael O'Boyle, Ronald Dreslinski, Christophe Dubach

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Dynamic adaptation is a post-silicon optimization technique that adapts the hardware to workload phases. However, current adaptive approaches are oblivious to implicit phases that arise from operating on irregular data, such as sparse linear algebra operations. Implicit phases are short-lived and do not exhibit consistent behavior throughout execution. This calls for a high-accuracy, low overhead runtime mechanism for adaptation at a fine granularity. Moreover, adopting such techniques for reconfigurable manycore hardware, such as coarse-grained reconfigurable architectures (CGRAs), adds complexity due to synchronization and resource contention.
We propose a lightweight machine learning-based adaptive framework called SparseAdapt. It enables low-overhead control of configuration parameters to tailor the hardware to both implicit (data-driven) and explicit (code-driven) phase changes. SparseAdapt is implemented within the runtime of a recently-proposed CGRA called Transmuter, which has been shown to deliver high performance for irregular sparse operations. SparseAdapt can adapt configuration parameters such as resource sharing, cache capacities, prefetcher aggressiveness, and dynamic voltage-frequency scaling (DVFS). Moreover, it can operate under the constraints of either (i) high energy-efficiency (maximal GFLOPS/W), or (ii) high power-performance (maximal GFLOPS3/W).
We evaluate SparseAdapt with sparse matrix-matrix and matrix-vector multiplication (SpMSpM and SpMSpV) routines across a suite of uniform random, power-law and real-world matrices, in addition to end-to-end evaluation on two graph algorithms. SparseAdapt achieves similar performance on SpMSpM as the largest static configuration, with 5.3× better energy-efficiency. Furthermore, on both performance and efficiency, SparseAdapt is at most within 13% of an Oracle that adapts the configuration of each phase with global knowledge of the entire program execution. Finally, SparseAdapt is able to outperform the state-of-the-art approach for runtime reconfiguration by up to 2.9× in terms of energy-efficiency.
Original languageEnglish
Title of host publicationThe 54th Annual IEEE/ACM International Symposium on Microarchitecture Proceedings
PublisherACM
Pages1005-1021
Number of pages17
ISBN (Print)978-1-4503-8557-2
DOIs
Publication statusPublished - 17 Oct 2021
Event54th IEEE/ACM International Symposium on Microarchitecture - Online, Athens, Greece
Duration: 18 Oct 202122 Oct 2022
https://www.microarch.org/micro54/index.php

Conference

Conference54th IEEE/ACM International Symposium on Microarchitecture
Abbreviated titleMICRO 2021
Country/TerritoryGreece
CityAthens
Period18/10/2122/10/22
Internet address

Keywords / Materials (for Non-textual outputs)

  • reconfigurable accelerators
  • sparse linear algebra
  • , energy-efficient computing
  • machine learning
  • predictive models

Fingerprint

Dive into the research topics of 'SparseAdapt: Runtime Control for Sparse Linear Algebra on a Reconfigurable Accelerator'. Together they form a unique fingerprint.

Cite this