An evalTo expression is only aligned iff both the lhs and the rhs are aligned.

This commit is contained in:
Benoit Steiner 2016-07-12 10:56:42 -07:00
parent b4343aa67e
commit 20f7ef2f89

View File

@ -94,7 +94,7 @@ struct TensorEvaluator<const TensorEvalToOp<ArgType>, Device>
static const int PacketSize = internal::unpacket_traits<PacketReturnType>::size;
enum {
IsAligned = true,
IsAligned = TensorEvaluator<ArgType, Device>::IsAligned,
PacketAccess = TensorEvaluator<ArgType, Device>::PacketAccess,
Layout = TensorEvaluator<ArgType, Device>::Layout,
CoordAccess = false, // to be implemented