10 #ifndef EIGEN_SKYLINEUTIL_H
11 #define EIGEN_SKYLINEUTIL_H
18 #define EIGEN_DBG_SKYLINE(X)
20 #define EIGEN_DBG_SKYLINE(X) X
29 #define EIGEN_SKYLINE_INHERIT_ASSIGNMENT_OPERATOR(Derived, Op) \
30 template<typename OtherDerived> \
31 EIGEN_STRONG_INLINE Derived& operator Op(const Eigen::SkylineMatrixBase<OtherDerived>& other) \
33 return Base::operator Op(other.derived()); \
35 EIGEN_STRONG_INLINE Derived& operator Op(const Derived& other) \
37 return Base::operator Op(other); \
40 #define EIGEN_SKYLINE_INHERIT_SCALAR_ASSIGNMENT_OPERATOR(Derived, Op) \
41 template<typename Other> \
42 EIGEN_STRONG_INLINE Derived& operator Op(const Other& scalar) \
44 return Base::operator Op(scalar); \
47 #define EIGEN_SKYLINE_INHERIT_ASSIGNMENT_OPERATORS(Derived) \
48 EIGEN_SKYLINE_INHERIT_ASSIGNMENT_OPERATOR(Derived, =) \
49 EIGEN_SKYLINE_INHERIT_ASSIGNMENT_OPERATOR(Derived, +=) \
50 EIGEN_SKYLINE_INHERIT_ASSIGNMENT_OPERATOR(Derived, -=) \
51 EIGEN_SKYLINE_INHERIT_SCALAR_ASSIGNMENT_OPERATOR(Derived, *=) \
52 EIGEN_SKYLINE_INHERIT_SCALAR_ASSIGNMENT_OPERATOR(Derived, /=)
54 #define EIGEN_SKYLINE_GENERIC_PUBLIC_INTERFACE_(Derived, BaseClass) \
55 typedef BaseClass Base; \
56 typedef typename Eigen::internal::traits<Derived>::Scalar Scalar; \
57 typedef typename Eigen::NumTraits<Scalar>::Real RealScalar; \
58 typedef typename Eigen::internal::traits<Derived>::StorageKind StorageKind; \
59 typedef typename Eigen::internal::index<StorageKind>::type Index; \
60 enum { Flags = Eigen::internal::traits<Derived>::Flags, };
62 #define EIGEN_SKYLINE_GENERIC_PUBLIC_INTERFACE(Derived) \
63 EIGEN_SKYLINE_GENERIC_PUBLIC_INTERFACE_(Derived, Eigen::SkylineMatrixBase<Derived>)
65 template<
typename Derived>
class SkylineMatrixBase;
66 template<
typename Scalar_,
int Flags_ = 0>
class SkylineMatrix;
73 template<
typename Lhs,
typename Rhs>
struct skyline_product_mode;
74 template<typename Lhs, typename Rhs, int ProductMode = skyline_product_mode<Lhs,Rhs>::value>
struct SkylineProductReturnType;
The main skyline matrix class.
: TensorContractionSycl.h, provides various tensor contraction kernel for SYCL backend
AdditionalProductEvaluationMode
@ SkylineTimeSkylineProduct
@ SkylineTimeDenseProduct
@ DenseTimeSkylineProduct
const unsigned int SkylineBit