1515
1616#pragma once
1717
18- #include < sycl/accessor.hpp>
1918#include < sycl/context.hpp>
2019#include < sycl/detail/backend_traits.hpp>
2120#include < sycl/detail/defines.hpp>
@@ -46,9 +45,7 @@ class device_impl;
4645
4746// TODO the interops for context, device, event, platform and program
4847// may be removed after removing the deprecated 'get_native()' methods
49- // from the corresponding classes. The interop<backend, queue> specialization
50- // is also used in the get_queue() method of the deprecated class
51- // interop_handler and also can be removed after API cleanup.
48+ // from the corresponding classes.
5249template <> struct interop <backend::ext_oneapi_level_zero, context> {
5350 using type = ze_context_handle_t ;
5451};
@@ -70,30 +67,6 @@ template <> struct interop<backend::ext_oneapi_level_zero, platform> {
7067 using type = ze_driver_handle_t ;
7168};
7269
73- // TODO the interops for accessor is used in the already deprecated class
74- // interop_handler and can be removed after API cleanup.
75- template <typename DataT, int Dimensions, access::mode AccessMode>
76- struct interop <backend::ext_oneapi_level_zero,
77- accessor<DataT, Dimensions, AccessMode, access::target::device,
78- access::placeholder::false_t >> {
79- using type = char *;
80- };
81-
82- template <typename DataT, int Dimensions, access::mode AccessMode>
83- struct interop <
84- backend::ext_oneapi_level_zero,
85- accessor<DataT, Dimensions, AccessMode, access::target::constant_buffer,
86- access::placeholder::false_t >> {
87- using type = char *;
88- };
89-
90- template <typename DataT, int Dimensions, access::mode AccessMode>
91- struct interop <backend::ext_oneapi_level_zero,
92- accessor<DataT, Dimensions, AccessMode, access::target::image,
93- access::placeholder::false_t >> {
94- using type = ze_image_handle_t ;
95- };
96-
9770template <> struct interop <backend::ext_oneapi_level_zero, kernel> {
9871 using type = ze_kernel_handle_t ;
9972};
0 commit comments