Freshly built within the past few hours...
This code compiles just fine with CodePlay and triSYCL.
jrhammon@jrhammon-nuc:~/PRK/Cxx11$ make stencil-sycl
/opt/sycl/bin/clang++ -DPRKVERSION="2.16" -fsycl -lsycl -lOpenCL -Wl,-rpath=/opt/sycl/lib -std=c++17 -O3 -DUSE_SYCL -DUSE_2D_INDEXING=0 -DUSE_BOOST_IRANGE -DUSE_RANGES stencil-sycl.cc -o stencil-sycl
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:10:7: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<star1_1d<float>, (lambda at ./stencil_sycl.hpp:10:92), 2>'
requested here
h.parallel_for<class star1_1d<T>>(cl::sycl::range<2> {n-2,n-2}, cl::sycl::id<2> {1,1}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:91:29: note: in instantiation of function template specialization 'star1<float>' requested here
case 1: stencil = star1; break;
^
stencil-sycl.cc:323:9: note: in instantiation of function template specialization 'run<float>' requested here
run<float>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:49:7: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<star2_1d<float>, (lambda at ./stencil_sycl.hpp:49:92), 2>'
requested here
h.parallel_for<class star2_1d<T>>(cl::sycl::range<2> {n-4,n-4}, cl::sycl::id<2> {2,2}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:92:29: note: in instantiation of function template specialization 'star2<float>' requested here
case 2: stencil = star2; break;
^
stencil-sycl.cc:323:9: note: in instantiation of function template specialization 'run<float>' requested here
run<float>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:98:7: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<star3_1d<float>, (lambda at ./stencil_sycl.hpp:98:92), 2>'
requested here
h.parallel_for<class star3_1d<T>>(cl::sycl::range<2> {n-6,n-6}, cl::sycl::id<2> {3,3}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:93:29: note: in instantiation of function template specialization 'star3<float>' requested here
case 3: stencil = star3; break;
^
stencil-sycl.cc:323:9: note: in instantiation of function template specialization 'run<float>' requested here
run<float>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:157:7: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<star4_1d<float>, (lambda at ./stencil_sycl.hpp:157:92), 2>'
requested here
h.parallel_for<class star4_1d<T>>(cl::sycl::range<2> {n-8,n-8}, cl::sycl::id<2> {4,4}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:94:29: note: in instantiation of function template specialization 'star4<float>' requested here
case 4: stencil = star4; break;
^
stencil-sycl.cc:323:9: note: in instantiation of function template specialization 'run<float>' requested here
run<float>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:226:7: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<star5_1d<float>, (lambda at ./stencil_sycl.hpp:226:94), 2>'
requested here
h.parallel_for<class star5_1d<T>>(cl::sycl::range<2> {n-10,n-10}, cl::sycl::id<2> {5,5}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:95:29: note: in instantiation of function template specialization 'star5<float>' requested here
case 5: stencil = star5; break;
^
stencil-sycl.cc:323:9: note: in instantiation of function template specialization 'run<float>' requested here
run<float>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
stencil-sycl.cc:167:11: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<add<float>, (lambda at stencil-sycl.cc:168:35), 2>' requested
here
h.parallel_for<class add<T>>(cl::sycl::range<2> {n, n}, cl::sycl::id<2> {0, 0},
^
stencil-sycl.cc:323:9: note: in instantiation of function template specialization 'run<float>' requested here
run<float>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:10:7: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<star1_1d<double>, (lambda at ./stencil_sycl.hpp:10:92), 2>'
requested here
h.parallel_for<class star1_1d<T>>(cl::sycl::range<2> {n-2,n-2}, cl::sycl::id<2> {1,1}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:91:29: note: in instantiation of function template specialization 'star1<double>' requested here
case 1: stencil = star1; break;
^
stencil-sycl.cc:324:9: note: in instantiation of function template specialization 'run<double>' requested here
run<double>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:49:7: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<star2_1d<double>, (lambda at ./stencil_sycl.hpp:49:92), 2>'
requested here
h.parallel_for<class star2_1d<T>>(cl::sycl::range<2> {n-4,n-4}, cl::sycl::id<2> {2,2}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:92:29: note: in instantiation of function template specialization 'star2<double>' requested here
case 2: stencil = star2; break;
^
stencil-sycl.cc:324:9: note: in instantiation of function template specialization 'run<double>' requested here
run<double>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:98:7: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<star3_1d<double>, (lambda at ./stencil_sycl.hpp:98:92), 2>'
requested here
h.parallel_for<class star3_1d<T>>(cl::sycl::range<2> {n-6,n-6}, cl::sycl::id<2> {3,3}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:93:29: note: in instantiation of function template specialization 'star3<double>' requested here
case 3: stencil = star3; break;
^
stencil-sycl.cc:324:9: note: in instantiation of function template specialization 'run<double>' requested here
run<double>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:157:7: note: in instantiation of function template specialization
'cl::sycl::handler::parallel_for<star4_1d<double>, (lambda at ./stencil_sycl.hpp:157:92), 2>' requested here
h.parallel_for<class star4_1d<T>>(cl::sycl::range<2> {n-8,n-8}, cl::sycl::id<2> {4,4}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:94:29: note: in instantiation of function template specialization 'star4<double>' requested here
case 4: stencil = star4; break;
^
stencil-sycl.cc:324:9: note: in instantiation of function template specialization 'run<double>' requested here
run<double>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
./stencil_sycl.hpp:226:7: note: in instantiation of function template specialization
'cl::sycl::handler::parallel_for<star5_1d<double>, (lambda at ./stencil_sycl.hpp:226:94), 2>' requested here
h.parallel_for<class star5_1d<T>>(cl::sycl::range<2> {n-10,n-10}, cl::sycl::id<2> {5,5}, [=] (cl::sycl::item<2> it) {
^
stencil-sycl.cc:95:29: note: in instantiation of function template specialization 'star5<double>' requested here
case 5: stencil = star5; break;
^
stencil-sycl.cc:324:9: note: in instantiation of function template specialization 'run<double>' requested here
run<double>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
In file included from stencil-sycl.cc:63:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl.hpp:15:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/accessor2.hpp:12:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/buffer.hpp:11:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/buffer_impl2.hpp:20:
In file included from /opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler.hpp:10:
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/handler2.hpp:573:14: error: no matching member function for call to 'set'
MNDRDesc.set(std::move(NumWorkItems), std::move(WorkItemOffset));
~~~~~~~~~^~~
stencil-sycl.cc:167:11: note: in instantiation of function template specialization 'cl::sycl::handler::parallel_for<add<double>, (lambda at stencil-sycl.cc:168:35), 2>'
requested here
h.parallel_for<class add<T>>(cl::sycl::range<2> {n, n}, cl::sycl::id<2> {0, 0},
^
stencil-sycl.cc:324:9: note: in instantiation of function template specialization 'run<double>' requested here
run<double>(host, iterations, n, tile_size, star, radius);
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:59:29: note: candidate function template not viable: requires single argument 'NumWorkItems', but 2 arguments were
provided
template <int Dims_> void set(sycl::range<Dims_> NumWorkItems) {
^
/opt/sycl/lib/clang/9.0.0/include/CL/sycl/detail/cg.hpp:70:29: note: candidate function template not viable: requires single argument 'ExecutionRange', but 2 arguments were
provided
template <int Dims_> void set(sycl::nd_range<Dims_> ExecutionRange) {
^
12 errors generated.
make: *** [Makefile:156: stencil-sycl] Error 1