@@ -34,6 +34,8 @@ inline namespace _V1 {
3434template <bundle_state State>
3535class kernel_bundle ;
3636class queue ;
37+ template <typename T, int Dimensions, typename AllocatorT, typename Enable>
38+ class buffer ;
3739
3840namespace 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