From 90f4bf62f16b62cf1e53e483e01b6c2bfca3fec6 Mon Sep 17 00:00:00 2001 From: "Larsen, Steffen" Date: Thu, 8 Sep 2022 08:48:49 -0700 Subject: [PATCH] [SYCL] Remove cl namespace deprecation warning According to the SYCL 2020 specification, CL/sycl.hpp should supply the cl prefix namespace for backwards compatibility, but it does not specify that the namespace is deprecated. This commit removes the deprecation message. Signed-off-by: Larsen, Steffen --- sycl/include/CL/sycl.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sycl/include/CL/sycl.hpp b/sycl/include/CL/sycl.hpp index 9e73b1d2c3a64..1910590bafde2 100644 --- a/sycl/include/CL/sycl.hpp +++ b/sycl/include/CL/sycl.hpp @@ -10,7 +10,6 @@ #include -namespace __SYCL2020_DEPRECATED( - "cl::sycl is deprecated, use ::sycl instead.") cl { +namespace cl { namespace sycl = ::sycl; }