Skip to content

Commit

Permalink
shortcut value for is_dynamic_view
Browse files Browse the repository at this point in the history
  • Loading branch information
fnrizzi committed Jun 8, 2023
1 parent 789b62c commit e30f040
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions containers/src/Kokkos_DynamicView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ template <class D, class... P>
struct is_dynamic_view<Kokkos::Experimental::DynamicView<D, P...>>
: public std::true_type {};

template <class T>
inline constexpr bool is_dynamic_view_v = is_dynamic_view<T>::value;

} // namespace Kokkos

namespace Kokkos {
Expand Down

0 comments on commit e30f040

Please sign in to comment.