Polygeist icon indicating copy to clipboard operation
Polygeist copied to clipboard

C/C++ frontend for MLIR. Also features polyhedral optimizations, parallel optimizations, and more!

Results 89 Polygeist issues
Sort by recently updated
recently updated
newest added

In the codebase of the Polygeist project, there's a discrepancy between the function `atan` and `atanh`. It appears that `math::AtanhOp` is the suitable counterpart for `atanh`. However, the current implementation...

HI, i am currently using half type in my CUDA code, but when i use cgeist to it, it succeed in building a .o file with some AST output. I...

I read this: https://github.com/llvm/Polygeist/issues/320 and tried to construct a command to lower my .cu file into LLVM IR. The result: ```bash nyck33@lenovo-gtx1650:/mnt/d/LLVM/Lean/LLVM$ cgeist cudaComputePortfolioRisk.cu --function=* -S --resource-dir=$LLVM_BUILD_DIR/lib/clang/18 --cuda-gpu-arch=sm_75 | polygeist-opt...

When a pointer to a structure is passed through a function parameter, the type of the pointer is incremented with the opaque tag, which results in a compilation failure. The...

Operations such as "|=", "&=" and "^=" lack the necessary implicit type conversions, e.g. the following code will compile with the error "op requires the same type for all operands...

Hi all, I was playing with Polygeist and after writing on the discord channel they suggested me to post my issue here, since it could be a bug. This is...

I have a simple CUDA program here that performs a simple reduction: ``` #include #include // CUDA kernel for performing reduction (sum) of an array __global__ void reduceSum(int *g_input, int...

I named the example `simple_matmul.cu` and tried to compile like ``` nyck33@lenovo-gtx1650:/mnt/d/LLVM/NewPolygeistDir/nobu-polygeist-demos$ cgeist simple_matmul.cu -function=matmul -S warning: CUDA version 12.1 is only partially supported error: GPU arch sm_35 is supported...

Near the end of building Polygeist, well the cmake command, I get ``` Libraries have been installed in: /mnt/d/LLVM/NewPolygeistDir/build/pluto/install/lib If you ever happen to want to link against installed libraries...