Added missing definition of PacketSize in the gpu evaluator of convolution

This commit is contained in:
Benoit Steiner 2016-04-14 17:16:58 -07:00
parent 6fbedf5a4e
commit 9624a1ea3d

View File

@ -790,6 +790,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr
typedef typename XprType::CoeffReturnType CoeffReturnType;
typedef typename PacketType<CoeffReturnType, GpuDevice>::type PacketReturnType;
typedef typename InputArgType::Scalar Scalar;
static const int PacketSize = internal::unpacket_traits<PacketReturnType>::size;
EIGEN_DEVICE_FUNC const Dimensions& dimensions() const { return m_dimensions; }