Record whether the underlying tensor storage can be accessed directly during the evaluation of an expression.

This commit is contained in:
Benoit Steiner
2016-01-19 17:05:10 -08:00
parent 34057cff23
commit 5b7713dd33
28 changed files with 53 additions and 5 deletions

View File

@@ -168,6 +168,7 @@ struct TensorEvaluator<const TensorImagePatchOp<Rows, Cols, ArgType>, Device>
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess,
Layout = TensorEvaluator<ArgType, Device>::Layout,
CoordAccess = NumDims == 5,
RawAccess = false
};
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device)