Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Include backend-specific header if exists (#4783)
https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:headers-and-namespaces introduces the backend specific headers "sycl/backend/<backend_name>.hpp" CTS tests assume that if backend macro is defined (e.g. SYCL_BACKEND_OPENCL) it is fully functional without extra includes. So the patch adds include of the backend specific header when the backend is enabled. The change should fix the recent massive failure of CTS tests with the error: implicit instantiation of undefined template 'sycl::interop<sycl::backend::opencl, sycl::platform>' Co-authored-by: Mikhail Lychkov <[email protected]> Co-authored-by: Mikhail Lychkov <[email protected]>
- Loading branch information