aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2018-09-13 16:12:22 -0700
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2018-09-13 16:12:22 -0700
commit2b070181401193f562f38179c1a3bb81496485cf (patch)
tree0c768fc40bfd365357217f69a68dc2891412fd9e /unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
parente289f44c565aa6d12d21a498ef34a515891cf520 (diff)
Enable vectorized version on GPUs. The underlying bug has been fixed.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
index d7a04a525..f5b969ce5 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h
@@ -218,7 +218,6 @@ struct InnerMostDimReducer<Self, Op, false, true> {
}
};
-#if !defined(EIGEN_USE_GPU) || !defined(__CUDACC__)
template <typename Self, typename Op>
struct InnerMostDimReducer<Self, Op, true, true> {
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename Self::CoeffReturnType
@@ -258,7 +257,6 @@ struct InnerMostDimReducer<Self, Op, true, true> {
}
}
};
-#endif
template <int DimIndex, typename Self, typename Op, bool vectorizable = (Self::InputPacketAccess && Self::ReducerTraits::PacketAccess)>
struct InnerMostDimPreserver {