Closed jinz2014 closed 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.
Thanks for your comments.
[ 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!