30 #ifndef KOKKOS_LAYOUT_CONTIGUOUS_HPP
31 #define KOKKOS_LAYOUT_CONTIGUOUS_HPP
33 #include "Kokkos_Core_fwd.hpp"
34 #include "Kokkos_Layout.hpp"
40 template <
typename Layout,
unsigned Str
ide = 1>
58 template <
class Layout>
60 static const bool value =
false;
63 template <
class Layout>
69 template <
class Layout>
74 template <
class Layout>
79 template <
class Layout,
unsigned Str
ide>
89 template <
class Layout,
unsigned Str
ide>
90 struct is_same<
Kokkos::LayoutContiguous<Layout,Stride>, Layout> {
91 static const bool value =
true;
94 template <
class Layout,
unsigned Str
ide>
95 struct is_same< Layout,
Kokkos::LayoutContiguous<Layout,Stride> > {
96 static const bool value =
true;
101 #include "impl/Kokkos_ViewMapping.hpp"
107 template <
class Dimension ,
class Layout ,
unsigned Str
ide >
109 :
public ViewOffset<Dimension,Layout> {
115 typedef ViewOffset<Dimension,Layout>
Base;
117 ViewOffset() = default ;
118 ViewOffset(
const ViewOffset & ) = default ;
119 ViewOffset & operator = (
const ViewOffset & ) = default ;
123 template <
typename Arg1>
127 template <
typename Arg1,
typename Arg2>
132 template <
typename Layout>
138 template <
typename Layout,
unsigned Str
ide>
147 #endif // #ifndef KOKKOS_LAYOUT_CONTIGUOUS_HPP