concept Raja in category parallel computing
appears as: Raja

This is an excerpt from Manning's book Parallel and High Performance Computing.
Sycl::buffer<double,1> dev_a { a.data(), Sycl::range<1>(a.size()) };
We introduced lambas in section 10.2.1. The lambda capture clause, [&], specifies capturing outside variables used in the routine by reference. For this lambda, the capture gets
nsize,scalar,dev_a,dev_b, anddev_cfor use in the lambda. We could specify it with just the single capture setting of by reference [&] or the form below where we specify each variable that will be captured. Good programming practice would prefer the latter, but the lists can get long.