Skip to content

Commit

Permalink
[SYCL] Remove remaining deprecated APIs (#6969)
Browse files Browse the repository at this point in the history
Two make-queue APIs were missed in previous ABI-breaking changes.
This is a part of planned breakage.

Signed-off-by: Byoungro So <byoungro.so@intel.com>
  • Loading branch information
bso-intel authored Oct 7, 2022
1 parent ebf6c59 commit 9fc1d68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
10 changes: 0 additions & 10 deletions sycl/include/sycl/detail/backend_traits_level_zero.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,6 @@ template <> struct BackendInput<backend::ext_oneapi_level_zero, queue> {

device Device;

type()
: Ownership(ext::oneapi::level_zero::ownership::transfer), Device() {}

__SYCL_DEPRECATED("Use backend_input_t<backend::ext_oneapi_level_zero, "
"queue> constructor with device parameter")
type(interop<backend::ext_oneapi_level_zero, queue>::type nativeHandle,
ext::oneapi::level_zero::ownership ownership =
ext::oneapi::level_zero::ownership::transfer)
: NativeHandle(nativeHandle), Ownership(ownership), Device() {}

type(interop<backend::ext_oneapi_level_zero, queue>::type nativeHandle,
device dev,
ext::oneapi::level_zero::ownership ownership =
Expand Down
4 changes: 0 additions & 4 deletions sycl/test/basic_tests/interop-level-zero-2020.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ int main() {
// expected-warning@+1 {{'make<sycl::event, nullptr>' is deprecated: Use SYCL 2020 sycl::make_event free function}}
auto E = ext::oneapi::level_zero::make<event>(
Context, ZeEvent, ext::oneapi::level_zero::ownership::keep);
// expected-warning@+2 {{'type' is deprecated: Use backend_input_t<backend::ext_oneapi_level_zero, queue> constructor with device parameter}}
backend_input_t<backend::ext_oneapi_level_zero, queue>
InteropQueueInputDeprecated{ZeQueue,
ext::oneapi::level_zero::ownership::keep};

return 0;
}

0 comments on commit 9fc1d68

Please sign in to comment.