From 33cbdc2d1556336962d5e96aeb5324da4f2f2ff7 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 6 Nov 2015 09:29:59 -0800 Subject: Added more missing EIGEN_DEVICE_FUNC --- unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h index 8153e8ce5..7ba0c2817 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h @@ -96,6 +96,7 @@ template struct MeanReducer static const bool PacketAccess = true; static const bool IsStateful = true; + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MeanReducer() : scalarCount_(0), packetCount_(0) { } EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void reduce(const T t, T* accum) { -- cgit v1.2.3