-
HI, I'm looking into using the IPU for my own project. I can't use Riallto directly due to need of calling from C++. I've looked into how the RyzenAI stack works and thinks Riallto most likely goes through MLIR-AIE. However, I don't get how Riallto is able to accept kernels as C++ source code. AFAIK MLIR-AIE only accepts MLIR as input. How does Riallto compile C/C++ into MLIR? Is there an open tool that can do it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @marty1885, In Riallto we use small subset of the Vitis tools for compiling the C++ kernel code. This kernel code gets compiled into an object file that we can then call on an AIE-Tile from within MLIR-AIE. An example of this can be seen in the repo here. All the best, |
Beta Was this translation helpful? Give feedback.
Hi @marty1885,
In Riallto we use small subset of the Vitis tools for compiling the C++ kernel code. This kernel code gets compiled into an object file that we can then call on an AIE-Tile from within MLIR-AIE. An example of this can be seen in the repo here.
All the best,
Shane