English

Code Transpilation for Hardware Accelerators

Programming Languages 2023-08-15 v1 Hardware Architecture

Abstract

DSLs and hardware accelerators have proven to be very effective in optimizing computationally expensive workloads. In this paper, we propose a solution to the challenge of manually rewriting legacy or unoptimized code in domain-specific languages and hardware accelerators. We introduce an approach that integrates two open-source tools: Metalift, a code translation framework, and Gemmini, a DNN accelerator generator. The integration of these two tools offers significant benefits, including simplified workflows for developers to run legacy code on Gemmini generated accelerators and a streamlined programming stack for Gemmini that reduces the effort required to add new instructions. This paper provides details on this integration and its potential to simplify and optimize computationally expensive workloads.

Keywords

Cite

@article{arxiv.2308.06410,
  title  = {Code Transpilation for Hardware Accelerators},
  author = {Yuto Nishida and Sahil Bhatia and Shadaj Laddad and Hasan Genc and Yakun Sophia Shao and Alvin Cheung},
  journal= {arXiv preprint arXiv:2308.06410},
  year   = {2023}
}