aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h
index 5a2df7807..bb042ade2 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h
@@ -180,6 +180,18 @@ SLICEOPEXPR(const)
SLICEOPEXPR()
#undef SLICEOPEXPR
+#define RESHAPEANDSHUFFLEOPPLH(OPEXP , CVQual)\
+template<typename Param, typename XprType, size_t N>\
+struct PlaceHolderExpression<CVQual OPEXP<Param, XprType>, N > {\
+ typedef CVQual OPEXP<Param, typename CalculateIndex<N, XprType>::ArgType> Type;\
+};
+
+RESHAPEANDSHUFFLEOPPLH(TensorReshapingOp, const)
+RESHAPEANDSHUFFLEOPPLH(TensorReshapingOp, )
+
+RESHAPEANDSHUFFLEOPPLH(TensorShufflingOp, const)
+RESHAPEANDSHUFFLEOPPLH(TensorShufflingOp,)
+#undef RESHAPEANDSHUFFLEOPPLH
/// template deduction for \ref PlaceHolderExpression struct
template <typename Expr>