hfinkel / llvm-project-cxxjit

Clang with JIT extensions
https://github.com/hfinkel/llvm-project-cxxjit/wiki
229 stars 23 forks source link

Kokkos "minimal reproducer" #19

Open jjwilke opened 4 years ago

jjwilke commented 4 years ago

There are two JIT tests in the branch - jit_pass and jit_fail. Just getting the LLVM ERROR: Clang JIT failed! on the failure. The View constructor seems to be the culprit?

git clone https://github.com/jjwilke/kokkos.git -b clang-jit
mkdir build
cd build
cmake .. \
 -DCMAKE_CXX_COMPILER=<PATH_TO_CLANG> \
 -DKokkos_ENABLE_SERIAL=ON \
 -DKokkos_ENABLE_JIT=ON

The tests are in core/jit_test