1#ifndef KOKKOS_UTILS_CONCEPTS_VIEW_HPP
2#define KOKKOS_UTILS_CONCEPTS_VIEW_HPP
6#include "Kokkos_View.hpp"
15concept View = Kokkos::is_view_v<T>;
18template <
typename T, std::
size_t Rank>
26template <
typename T,
typename ValueType>
27concept ViewOf =
View<T> && std::same_as<typename T::value_type, ValueType>;
30template <
typename T,
template <
typename...>
class U>
Specify that a type is a modifiable Kokkos::View.
Specify that a type is a Kokkos::View, whose value type is an instance of a given class template U.
Specify that a type is a Kokkos::View of given rank Rank.
Specify that a type is a Kokkos::View with value type ValueType.
Specify that a type is a Kokkos::View.