Skip to content

Commit 867fa67

Browse files
committed
Post-merge fixes and more cleanup
1 parent a0d074b commit 867fa67

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

sycl/include/sycl/detail/backend_traits_level_zero.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <sycl/ext/oneapi/backend/level_zero_ownership.hpp> // for ownership
2424
#include <sycl/image.hpp> // for image
2525
#include <sycl/kernel.hpp> // for kernel
26-
#include <sycl/kernel_bundle.hpp>
26+
#include <sycl/kernel_bundle.hpp> // for kernel_b...
2727
#include <sycl/kernel_bundle_enums.hpp> // for bundle_s...
2828
#include <sycl/platform.hpp> // for platform
2929
#include <sycl/property_list.hpp> // for property...

sycl/include/sycl/detail/backend_traits_opencl.hpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ inline namespace _V1 {
3434
template<bundle_state State>
3535
class kernel_bundle;
3636
class queue;
37+
template <typename T, int Dimensions, typename AllocatorT, typename Enable>
38+
class buffer;
3739

3840
namespace detail {
3941

@@ -56,13 +58,15 @@ template <> struct interop<backend::opencl, platform> {
5658
using type = cl_platform_id;
5759
};
5860

59-
template <typename DataT, int Dimensions, typename AllocatorT>
60-
struct BackendInput<backend::opencl, buffer<DataT, Dimensions, AllocatorT>> {
61+
template <typename DataT, int Dimensions, typename AllocatorT, typename Enable>
62+
struct BackendInput<backend::opencl,
63+
buffer<DataT, Dimensions, AllocatorT, Enable>> {
6164
using type = cl_mem;
6265
};
6366

64-
template <typename DataT, int Dimensions, typename AllocatorT>
65-
struct BackendReturn<backend::opencl, buffer<DataT, Dimensions, AllocatorT>> {
67+
template <typename DataT, int Dimensions, typename AllocatorT, typename Enable>
68+
struct BackendReturn<backend::opencl,
69+
buffer<DataT, Dimensions, AllocatorT, Enable>> {
6670
using type = std::vector<cl_mem>;
6771
};
6872

0 commit comments

Comments
 (0)