We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489466e commit 9992f2aCopy full SHA for 9992f2a
sycl/include/CL/sycl.hpp
@@ -8,6 +8,10 @@
8
9
#pragma once
10
11
+#if defined(__clang__)
12
+#warning "CL/sycl.hpp is deprecated, use sycl/sycl.hpp"
13
+#endif
14
+
15
#include <sycl/sycl.hpp>
16
17
namespace cl {
sycl/test/warnings/sycl_2020_deprecations.cpp
@@ -1,5 +1,6 @@
1
// RUN: %clangxx %fsycl-host-only -fsyntax-only -ferror-limit=0 -sycl-std=2020 -Xclang -verify -Xclang -verify-ignore-unexpected=note %s
2
3
+// expected-warning@sycl/CL/sycl.hpp:12 {{CL/sycl.hpp is deprecated, use sycl/sycl.hpp}}
4
#include <CL/sycl.hpp>
5
#include <sycl/ext/intel/experimental/online_compiler.hpp>
6
0 commit comments