Current browse context:
cs.AR
Change to browse by:
References & Citations
Computer Science > Hardware Architecture
Title: Union: A Unified HW-SW Co-Design Ecosystem in MLIR for Evaluating Tensor Operations on Spatial Accelerators
(Submitted on 15 Sep 2021 (v1), last revised 7 Nov 2021 (this version, v3))
Abstract: To meet the extreme compute demands for deep learning across commercial and scientific applications, dataflow accelerators are becoming increasingly popular. While these "domain-specific" accelerators are not fully programmable like CPUs and GPUs, they retain varying levels of flexibility with respect to data orchestration, i.e., dataflow and tiling optimizations to enhance efficiency. There are several challenges when designing new algorithms and mapping approaches to execute the algorithms for a target problem on new hardware. Previous works have addressed these challenges individually. To address this challenge as a whole, in this work, we present a HW-SW co-design ecosystem for spatial accelerators called Union within the popular MLIR compiler infrastructure. Our framework allows exploring different algorithms and their mappings on several accelerator cost models. Union also includes a plug-and-play library of accelerator cost models and mappers which can easily be extended. The algorithms and accelerator cost models are connected via a novel mapping abstraction that captures the map space of spatial accelerators which can be systematically pruned based on constraints from the hardware, workload, and mapper. We demonstrate the value of Union for the community with several case studies which examine offloading different tensor operations(CONV/GEMM/Tensor Contraction) on diverse accelerator architectures using different mapping schemes.
Submission history
From: Geonhwa Jeong [view email][v1] Wed, 15 Sep 2021 16:42:18 GMT (420kb,D)
[v2] Fri, 17 Sep 2021 23:17:40 GMT (1117kb,D)
[v3] Sun, 7 Nov 2021 03:01:10 GMT (420kb,D)
Link back to: arXiv, form interface, contact.