Adding Sycl backend for TensorImagePatchOP.h; adding Sycl backend for TensorInflation.h.

This commit is contained in:
Mehdi Goli
2017-02-20 12:11:05 +00:00
parent 91982b91c0
commit 79ebc8f761
11 changed files with 1356 additions and 12 deletions

View File

@@ -165,6 +165,20 @@ KERNELBROKERCONVERTCHIPPINGOP()
/// specialisation of the \ref ConvertToDeviceExpression struct when the node type is TensorImagePatchOp
#define KERNELBROKERCONVERTIMAGEPATCHOP(CVQual)\
template<DenseIndex Rows, DenseIndex Cols, typename XprType>\
struct ConvertToDeviceExpression<CVQual TensorImagePatchOp<Rows, Cols, XprType> >{\
typedef CVQual TensorImagePatchOp<Rows, Cols, typename ConvertToDeviceExpression<XprType>::Type> Type;\
};
KERNELBROKERCONVERTIMAGEPATCHOP(const)
KERNELBROKERCONVERTIMAGEPATCHOP()
#undef KERNELBROKERCONVERTIMAGEPATCHOP
} // namespace internal
} // namespace TensorSycl
} // namespace Eigen