Improved the detection of packet size in the tensor scan evaluator.

This commit is contained in:
Benoit Steiner 2016-07-11 12:14:56 -07:00
parent a96a7ce3f7
commit 0bc020be9d

View File

@ -94,7 +94,7 @@ struct TensorEvaluator<const TensorScanOp<Op, ArgType>, Device> {
enum { enum {
IsAligned = false, IsAligned = false,
PacketAccess = (internal::packet_traits<Scalar>::size > 1), PacketAccess = (internal::unpacket_traits<PacketReturnType>::size > 1),
BlockAccess = false, BlockAccess = false,
Layout = TensorEvaluator<ArgType, Device>::Layout, Layout = TensorEvaluator<ArgType, Device>::Layout,
CoordAccess = false, CoordAccess = false,