diff options
author | 2017-02-24 19:16:24 +0000 | |
---|---|---|
committer | 2017-02-24 19:16:24 +0000 | |
commit | 2fa2b617a97ba254343c7c1635a9b6d617a100e8 (patch) | |
tree | a4c9c419d174af22715091eac320c6fbd59f6776 /unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h | |
parent | 0b7875f1376a0f3f22754837712ddd885ca3f4dd (diff) |
Adding TensorVolumePatchOP.h for sycl
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h index ab97235ae..fcef0be04 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclPlaceHolderExpr.h @@ -235,6 +235,20 @@ SYCLTENSORIMAGEPATCHOP() #undef SYCLTENSORIMAGEPATCHOP + +/// specialisation of the \ref PlaceHolderExpression when the node is +/// TensorVolumePatchOp +#define SYCLTENSORVOLUMEPATCHOP(CVQual)\ +template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType, size_t N>\ +struct PlaceHolderExpression<CVQual TensorVolumePatchOp<Planes,Rows, Cols, XprType>, N> {\ + typedef CVQual TensorVolumePatchOp<Planes,Rows, Cols, typename CalculateIndex <N, XprType>::ArgType> Type;\ +}; + +SYCLTENSORVOLUMEPATCHOP(const) +SYCLTENSORVOLUMEPATCHOP() +#undef SYCLTENSORVOLUMEPATCHOP + + /// template deduction for \ref PlaceHolderExpression struct template <typename Expr> struct createPlaceHolderExpression { |