Skip to content

Commit

Permalink
Remove unused packing traits
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Apr 12, 2024
1 parent d35dc30 commit c26ad2b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/KokkosComm_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ struct Traits<View> {
static size_t extent(const View &v, const int i) { return v.extent(i); }
static size_t stride(const View &v, const int i) { return v.stride(i); }

template <typename ExecSpace>
static void pack(const ExecSpace &space,
const non_const_packed_view_type &dst, const View &src) {
Kokkos::deep_copy(space, dst, src);
}

template <typename ExecSpace>
static void unpack(const ExecSpace &space, const View &dst,
const non_const_packed_view_type &src) {
Kokkos::deep_copy(space, dst, src);
}

static constexpr bool is_reference_counted() { return true; }

static constexpr size_t rank() { return View::rank; }
Expand Down

0 comments on commit c26ad2b

Please sign in to comment.