diff --git a/sycl/include/CL/sycl/backend/level_zero.hpp b/sycl/include/CL/sycl/backend/level_zero.hpp index 55f5d8241db43..9e27de2e47534 100644 --- a/sycl/include/CL/sycl/backend/level_zero.hpp +++ b/sycl/include/CL/sycl/backend/level_zero.hpp @@ -49,6 +49,13 @@ struct interop +struct interop> { + using type = ze_image_handle_t; +}; + namespace detail { template <> struct InteropFeatureSupportMap { static constexpr bool MakePlatform = true; diff --git a/sycl/include/CL/sycl/backend/opencl.hpp b/sycl/include/CL/sycl/backend/opencl.hpp index be78a04bdb4a7..dc5afbb9363e2 100644 --- a/sycl/include/CL/sycl/backend/opencl.hpp +++ b/sycl/include/CL/sycl/backend/opencl.hpp @@ -53,6 +53,13 @@ struct interop +struct interop> { + using type = cl_mem; +}; + template struct interop> { using type = cl_mem;