|
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? |
Answered by
STFleming
Apr 25, 2024
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, |
2 replies
Answer selected by
marty1885
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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