You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] Rename cuda, hip and fix renaming for level_zero backends (#4785)
According to SYCL spec, backend::cuda was renamed to backend::ext_oneapi_cuda,
and backend::hip was renamed to backend::ext_oneapi_hip. Old names were
marked as deprecated. The renaming is also applied in the sources, tests and
unit-tests. Renaming for the Level Zero backend was also applied for the sources,
tests and unit-tests.
The following properties were moved into namespaces reserved for extensions:
* ext::oneapi::cuda::property::context::use_primary_context,
* ext::oneapi::cuda::property::queue::use_default_stream.
The interop class template was re-defined in the sycl::detail namespace since
it is not an extension of the SYCL API but just an implementation detail. The parts
of CL/sycl/backend/opencl.hpp that contain specializations for the
sycl::detail::interop class template were moved into the new created
CL/sycl/detail/backend_traits_opencl.hpp header, as well as the same parts of the
sycl/ext/oneapi/backend/level_zero.hpp header. The whole
CL/sycl/backend/cuda.hpp header file was also renamed into the
CL/sycl/detail/backend_traits_cuda.hpp one since the file contains a number of
sycl::detail::interop class template specializations only. A warning was added into
the old file.
0 commit comments