unisa-hpc / sycl-bench

SYCL Benchmark Suite
BSD 3-Clause "New" or "Revised" License
56 stars 31 forks source link

Questions about the single kernel set #39

Closed jinz2014 closed 4 years ago

jinz2014 commented 4 years ago

[ 3%] Building CXX object CMakeFiles/sobel7.dir/single-kernel/sobel7.cpp.o Unsupported kernel parameter type UNREACHABLE executed at /home/cc/sycl_workspace/llvm/clang/lib/Sema/SemaSYCL.cpp:1039!

illuhad commented 4 years ago

So, you are using LLVM SYCL? This looks like a lambda capture issue inside LLVM SYCL. I think I have seen some patches recently that supposedly should fix array captures, so maybe you just have to update your installation. With that said, the code in question compiles cleanly with hipSYCL and ComputeCpp, so it's unlikely to be an issue inside sycl-bench.

jinz2014 commented 4 years ago

Thanks for your comments.