In file included from potential.cpp:8:
./implementation.hpp:176:61: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
176 | h.parallel_for(sycl::range<1>(m_numPoints), [=, this](sycl::id<1> idx) {
| ^
./implementation.hpp:169:47: note: while substituting into a lambda expression here
169 | m_queue->submit([&](sycl::handler& h) {
| ^
./implementation.hpp:56:17: note: in instantiation of member function 'ProgramPotential<double>::updatePositions' requested here
56 | updatePositions(points);
| ^
potential.cpp:92:63: note: in instantiation of member function 'ProgramPotential<double>::iteration' requested here
92 | IProgramPotential<real_t, index_t, length_t> *program = new ProgramPotential<real_t, index_t, length_t>;
| ^
1 warning generated.
In file included from potential.cpp:8:
./implementation.hpp:176:61: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
176 | h.parallel_for(sycl::range<1>(m_numPoints), [=, this](sycl::id<1> idx) {
| ^
./implementation.hpp:169:47: note: while substituting into a lambda expression here
169 | m_queue->submit([&](sycl::handler& h) {
| ^
./implementation.hpp:56:17: note: in instantiation of member function 'ProgramPotential<double>::updatePositions' requested here
56 | updatePositions(points);
| ^
potential.cpp:92:63: note: in instantiation of member function 'ProgramPotential<double>::iteration' requested here
92 | IProgramPotential<real_t, index_t, length_t> *program = new ProgramPotential<real_t, index_t, length_t>;
| ^
1 warning generated.
In file included from potential.cpp:8:
./implementation.hpp:176:61: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
176 | h.parallel_for(sycl::range<1>(m_numPoints), [=, this](sycl::id<1> idx) {
| ^
./implementation.hpp:169:47: note: while substituting into a lambda expression here
169 | m_queue->submit([&](sycl::handler& h) {
| ^
./implementation.hpp:56:17: note: in instantiation of member function 'ProgramPotential<double>::updatePositions' requested here
56 | updatePositions(points);
| ^
potential.cpp:92:63: note: in instantiation of member function 'ProgramPotential<double>::iteration' requested here
92 | IProgramPotential<real_t, index_t, length_t> *program = new ProgramPotential<real_t, index_t, length_t>;
| ^
1 warning generated.