Skip to content

Commit 7ddd8a9

Browse files
[SYCL][API-break] Remove "using namespace experimental" inside ext::intel (#6415)
It had been deprecated before. I don't think it's an ABI break but it is definitely an API break and we still need to increment major version in the next release.
1 parent d4933b6 commit 7ddd8a9

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

sycl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ include(SYCLUtils)
2828
set(SYCL_MAJOR_VERSION 5)
2929
set(SYCL_MINOR_VERSION 7)
3030
set(SYCL_PATCH_VERSION 0)
31-
set(SYCL_DEV_ABI_VERSION 0)
31+
set(SYCL_DEV_ABI_VERSION 1)
3232
if (SYCL_ADD_DEV_VERSION_POSTFIX)
3333
set(SYCL_VERSION_POSTFIX "-${SYCL_DEV_ABI_VERSION}")
3434
endif()

sycl/include/sycl/ext/intel/experimental/online_compiler.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,5 @@ online_compiler<source_language::cm>::compile(const std::string &src) {
219219
} // namespace experimental
220220
} // namespace intel
221221
} // namespace ext
222-
223-
namespace ext {
224-
namespace __SYCL2020_DEPRECATED(
225-
"use 'ext::intel::experimental' instead") intel {
226-
using namespace ext::intel::experimental;
227-
} // namespace intel
228-
} // namespace ext
229-
230222
} // namespace sycl
231223
} // __SYCL_INLINE_NAMESPACE(cl)

sycl/test/warnings/sycl_2020_deprecations.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ int main() {
151151
auto SL = sycl::INTEL::source_language::opencl_c;
152152
(void)SL;
153153

154-
// expected-warning@+1{{'intel' is deprecated: use 'ext::intel::experimental' instead}}
155-
auto SLExtIntel = sycl::ext::intel::source_language::opencl_c;
156-
(void)SLExtIntel;
157-
158154
// expected-warning@+1{{'level_zero' is deprecated: use 'ext_oneapi_level_zero' instead}}
159155
auto LevelZeroBackend = sycl::backend::level_zero;
160156
(void)LevelZeroBackend;

0 commit comments

Comments
 (0)