Open jeffhammond opened 2 years ago
In
void finish_distribution(const uint64_t n, particle_t p[const n])
you could just use particle_t p[]
or if you are courageous sycl::span
from SYCL 2020.
d = sycl::default_selector{}.select_device();
is the old weird Java-like factory from SYCL 1.2 which has been removed. Now you can just use
d = sycl::device { sycl::default_selector_v };
or probably in the case of the default selector which select the default device, just:
d = {};
For more details: https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:device-selector
This is probably wrong...