Polygeist
Polygeist copied to clipboard
C/C++ frontend for MLIR. Also features polyhedral optimizations, parallel optimizations, and more!
Recently I keep wondering if it is nice for Polygeist to have such a feature: in the source C/C++ code, we can provide custom directives that instructs Polygeist to lower...
First up, just wanted to say this is a _really_ interesting project, I've got some curiosity about using it to do embedded DSL's in C++ through MLIR. If I'm barking...
It is a follow-up to #44, and maybe I've asked about this earlier: could we generate function interface that has MemRef types with explicit dimensionality? For example, take the code...
When I install Polygeist using the first method, I met errors when buidling MLIR. ``` FAILED: tools/mlir/lib/Dialect/Math/IR/CMakeFiles/obj.MLIRMathDialect.dir/MathOps.cpp.o /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -DMLIR_CUDA_CONVERSIONS_ENABLED=0 -DMLIR_ROCM_CONVERSIONS_ENABLED=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/mxch/Workdir/Polygeist/llvm-project/build/tools/mlir/lib/Dialect/Math/IR -I/Users/mxch/Workdir/Polygeist/llvm-project/mlir/lib/Dialect/Math/IR -I/Users/mxch/Workdir/Polygeist/llvm-project/build/include -I/Users/mxch/Workdir/Polygeist/llvm-project/llvm/include -I/Users/mxch/Workdir/Polygeist/llvm-project/mlir/include...
Hello; My LLVM is built with `shared_libs`. Now when I am trying to run `ninja check-cgeist`, I am getting error while linking. Can anyone please help me debug the error?...
Hello; I was trying to understand the `polygeist.subindex` operation. Can anybody please explain why as a result of some subindex operation, we see one of the dimension being removed, in...
When running the following test: ``` // RUN: cgeist %s --function=* -llvm-struct=1 -memref-abi=0 -S | FileCheck %s struct stream { stream& operator
Mem Access Accelerator support in Polygeist. Plan to work based on existing Polygeist framework in short term
I imagine that there are restrictions on which C++ constructs are supported by cgeist, but I don't know if that is the problem here. Input code: ``` #include extern "C"...