Skip to content

Commit

Permalink
Added view type
Browse files Browse the repository at this point in the history
  • Loading branch information
G-071 committed May 31, 2023
1 parent bae9813 commit 17d4a4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/kokkos_buffer_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class aggregated_recycled_view : public kokkos_type {
std::shared_ptr<element_type> data_ref_counter;

public:
using view_type = kokkos_type;
template <class... Args>
explicit aggregated_recycled_view(alloc_type &alloc, Args... args)
: kokkos_type(
Expand Down Expand Up @@ -82,6 +83,7 @@ class recycled_view : public kokkos_type {
size_t total_elements{0};

public:
using view_type = kokkos_type;
template <class... Args>
explicit recycled_view(Args... args)
: kokkos_type(
Expand Down

0 comments on commit 17d4a4b

Please sign in to comment.