From 17d4a4b200bec6549c078eb502675c65efcc11d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20Dai=C3=9F?= Date: Wed, 31 May 2023 13:37:37 -0500 Subject: [PATCH] Added view type --- include/kokkos_buffer_util.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/kokkos_buffer_util.hpp b/include/kokkos_buffer_util.hpp index eaadf2aa..7e95a9c6 100644 --- a/include/kokkos_buffer_util.hpp +++ b/include/kokkos_buffer_util.hpp @@ -29,6 +29,7 @@ class aggregated_recycled_view : public kokkos_type { std::shared_ptr data_ref_counter; public: + using view_type = kokkos_type; template explicit aggregated_recycled_view(alloc_type &alloc, Args... args) : kokkos_type( @@ -82,6 +83,7 @@ class recycled_view : public kokkos_type { size_t total_elements{0}; public: + using view_type = kokkos_type; template explicit recycled_view(Args... args) : kokkos_type(