CGRA compiler

,


Based on MLIR, this compiler will generate configuration bitstreams for the CGRA (acting as a tightly-coupled domain-specific accelerator), in an automated manner for the user, without requiring the design of custom logic. This will allow the automatic generation of hardware accelerators in the edge without additional effort for the user. Moreover, run-time SW-to-HW computing offloading mechanisms will be incorporated  to automatically extract application parallelism combined with run-time profiling/tracing to enable adaptive/speculative acceleration deployment

Figure 1. Detailed view of the memory-mapped CGRA-based accelerator

This compiler will allow users to deploy computing-intensive sections of code on the CGRA, without further user’s intervention. This enables the automatic generation of the compilers, and the potential adaptation of the architecture to multiple and different operation points, differing in the use of resources versus the achieved throughput. Based on MLIR, as part of the DPE, the compiler will enable the production of  adaptable WL implementations to be executed on the computing continuum infrastructure.


The original compilation framework existing for this multi-grain CGRA relied on LLVM with limited automatic parallelization capabilities. LLVM is less extensible than MLIR, and presents portability limitations. Moreover, run-time SW-to-HW computing offloading mechanisms will be incorporated  to automatically extract application parallelism combined with run-time profiling/tracing to enable adaptive/speculative acceleration deployment.


Assessment Plan@M18:
First demonstration of the compilation flow on the CGRA architecture described in R2.

Expected Results@M18:
First version of the toolchain, without the feature to automatically extract application parallelism.


  • [1] Vázquez, D., Rodríguez, A., Otero, A., & de la Torre, E. (2022, November). Extending RISC-V Processor Datapaths with Multi-Grain Reconfigurable Overlays. In 2022 37th Conference on Design of Circuits and Integrated Circuits (DCIS) (pp. 01-06). IEEE.
  • [2] https://github.com/des-cei/cgra_gen
Competenze

Postato il

5 Febbraio 2025