diff options
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h index 74566dcee..ba0d17e0c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h @@ -144,16 +144,19 @@ FORCEDEVAL() #undef FORCEDEVAL /// specialisation of the \ref PlaceHolderExpression when the node is -/// TensorEvalToOp -#define EVALTO(CVQual)\ +/// TensorEvalToOp, TensorLayoutSwapOp +#define EVALTOLAYOUTSWAP(CVQual, ExprNode)\ template <typename Expr, size_t N>\ -struct PlaceHolderExpression<CVQual TensorEvalToOp<Expr>, N> {\ - typedef CVQual TensorEvalToOp<typename CalculateIndex <N, Expr>::ArgType> Type;\ +struct PlaceHolderExpression<CVQual ExprNode<Expr>, N> {\ + typedef CVQual ExprNode<typename CalculateIndex <N, Expr>::ArgType> Type;\ }; -EVALTO(const) -EVALTO() -#undef EVALTO +EVALTOLAYOUTSWAP(const, TensorEvalToOp) +EVALTOLAYOUTSWAP(, TensorEvalToOp) +EVALTOLAYOUTSWAP(const, TensorLayoutSwapOp) +EVALTOLAYOUTSWAP(, TensorLayoutSwapOp) + +#undef EVALTOLAYOUTSWAP /// specialisation of the \ref PlaceHolderExpression when the node is |