ExCALIBUR-NEPTUNE / NESO

MIT License
4 stars 4 forks source link

removed includes of CL/sycl.hpp #235

Closed will-saunders-ukaea closed 7 months ago

will-saunders-ukaea commented 7 months ago

Description

SYCL2020 states the includes should be of SYCL/sycl.hpp. Apart from the original 1D code (which performs it's own checks of if SYCL/sycl.hpp exists) NESO includes sycl transitively from NP. This PR removes includes and calls to "using namespace cl" which refer to how sycl worked pre 2020.

Type of change

Please delete options that are not relevant.

Testing

Built and runs with hipsycl 0.9.4 and dpcpp 2021.