Open ericxu233 opened 6 months ago
Sorry for the delay.
Currently there is no way to do that with cgeist, as it expects a c/c++ file. It should be easy to add, however, you can currently use polygeist-opt with --lower-affine, --convert-polygeist-to-llvm and then mlir-translate to convert that to llvm IR, which can then be compiled to an object file using clang.
I want to modify the MLIR generated by --cuda-lower --cpuify and then take it back to the compiler and generate the opemp executable. Is there a way to do that?
I tried the cgeist command like this:
However, it seems that it does nothing and the -v output looks like this: