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

@@ -428,6 +428,7 @@ struct TensorEvaluator<const TensorReductionOp<Op, Dims, ArgType>, Device>
PacketAccess = Self::InputPacketAccess && Op::PacketAccess,
Layout = TensorEvaluator<ArgType, Device>::Layout,
CoordAccess = false, // to be implemented
RawAccess = false
};
static const bool ReducingInnerMostDims = internal::are_inner_most_dims<Dims, NumInputDims, Layout>::value;