MLIR-based interoperability layer

,


The baseline of this results consists of independent dialects in MLIR (e.g., for simple dataflow graphs, and ML operators) and existing tools (e.g., CGRA compiler toolchains) with no integration in MLIR. Some MLIR dialects are rather mature (e.g., linalg) and others less so. In the baseline there is no integrated solution and key dialects and dialect extensions are missing to implement the planned functionality of the DPE.


dfg-mlir serves as a part of the interoperability layer in the DPE Node-Level Optimization and Deployment step. It accepts input from higher abstraction level code (e.g. linalg) and generates codes targeting different hardware acceleration platforms (i.e. FPGA and CGRA). In this MLIR-based framework, optimizations on the execution dataflow graph will be applied to achieve better performance.


This is a new result, consistent with the seamless integration of node-level tools. The interoperability layer will enable a seamless programming and exploration flow, not possible today due to fragmented toolchains.


Assessment Plan@M18:
Initial bilateral or trilateral interoperability between tools demonstrated in a small testbed. An example would be an external DSL integrated via MLIR into a mock application graph, with partially automatic code generation for a platform with RISC-V and a CGRA/FPGA.

Expected Results@M18:
Interoperability of other tools in DPE, such as FPGA backend or CGRA tools.


Competenze

Postato il

10 Febbraio 2025