Skip to content

Commit 85b415c

Browse files
[SYCL] Remove cl namespace deprecation warning (#6735)
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 <[email protected]>
1 parent c527a0e commit 85b415c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sycl/include/CL/sycl.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#include <sycl/sycl.hpp>
1212

13-
namespace __SYCL2020_DEPRECATED(
14-
"cl::sycl is deprecated, use ::sycl instead.") cl {
13+
namespace cl {
1514
namespace sycl = ::sycl;
1615
}

0 commit comments

Comments
 (0)