10 #ifndef EIGEN_CXX11_TENSOR_TENSOR_DIMENSION_LIST_H
11 #define EIGEN_CXX11_TENSOR_TENSOR_DIMENSION_LIST_H
34 template<
typename Index, std::
size_t Rank>
struct array_size<DimensionList<
Index, Rank> > {
35 static const size_t value = Rank;
37 template<
typename Index, std::
size_t Rank>
struct array_size<const DimensionList<
Index, Rank> > {
38 static const size_t value = Rank;
48 template <
typename Index, std::
size_t Rank>
54 template <
typename Index, std::
size_t Rank>
55 struct index_known_statically_impl<const DimensionList<
Index, Rank> > {
61 template <
typename Index, std::
size_t Rank>
62 struct all_indices_known_statically_impl<DimensionList<
Index, Rank> > {
67 template <
typename Index, std::
size_t Rank>
68 struct all_indices_known_statically_impl<const DimensionList<
Index, Rank> > {
74 template <
typename Index, std::
size_t Rank>
75 struct indices_statically_known_to_increase_impl<DimensionList<
Index, Rank> > {
80 template <
typename Index, std::
size_t Rank>
81 struct indices_statically_known_to_increase_impl<const DimensionList<
Index, Rank> > {
87 template <
typename Index, std::
size_t Rank>
88 struct index_statically_eq_impl<DimensionList<
Index, Rank> > {
93 template <
typename Index, std::
size_t Rank>
94 struct index_statically_eq_impl<const DimensionList<
Index, Rank> > {
100 template <
typename Index, std::
size_t Rank>
101 struct index_statically_ne_impl<DimensionList<
Index, Rank> > {
106 template <
typename Index, std::
size_t Rank>
107 struct index_statically_ne_impl<const DimensionList<
Index, Rank> > {
113 template <
typename Index, std::
size_t Rank>
114 struct index_statically_gt_impl<DimensionList<
Index, Rank> > {
119 template <
typename Index, std::
size_t Rank>
120 struct index_statically_gt_impl<const DimensionList<
Index, Rank> > {
126 template <
typename Index, std::
size_t Rank>
127 struct index_statically_lt_impl<DimensionList<
Index, Rank> > {
132 template <
typename Index, std::
size_t Rank>
133 struct index_statically_lt_impl<const DimensionList<
Index, Rank> > {
#define EIGEN_ALWAYS_INLINE
#define EIGEN_DEVICE_FUNC
constexpr T array_get(const numeric_list< T, a, as... > &)
: TensorContractionSycl.h, provides various tensor contraction kernel for SYCL backend
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
EIGEN_DEFAULT_DENSE_INDEX_TYPE DenseIndex
EIGEN_ALWAYS_INLINE const Index operator[](const Index i) const