Skip to content

Commit

Permalink
Silence unused parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
crtrott committed Feb 22, 2023
1 parent 66e1437 commit 8921317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Kokkos_View.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ class View : public ViewTraits<DataType, Properties...> {
};

template <typename D, class... P>
KOKKOS_INLINE_FUNCTION constexpr unsigned rank(const View<D, P...>& V) {
KOKKOS_INLINE_FUNCTION constexpr unsigned rank(const View<D, P...>&) {
return View<D, P...>::rank();
}

Expand Down

0 comments on commit 8921317

Please sign in to comment.