Skip to content

Commit

Permalink
Merge pull request #20 from SC-SGS/add_viewtype
Browse files Browse the repository at this point in the history
Added view type
  • Loading branch information
G-071 authored May 31, 2023
2 parents bae9813 + 17d4a4b commit 1463024
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 1463024

Please sign in to comment.