diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-01-11 09:07:14 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-01-11 09:07:14 -0800 |
commit | 780623261eedd996404795dfb7928e680408adb5 (patch) | |
tree | 14f995a2491d2dead393ad75914310bb0ce5f8a1 /unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h | |
parent | b557662e589a76265f73b99d7ca54a988d7bdb59 (diff) |
Re-enabled the optimized reduction CUDA code.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h | 2 |
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 fd7064459..cea32d05f 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h @@ -527,7 +527,6 @@ struct TensorEvaluator<const TensorReductionOp<Op, Dims, ArgType>, Device> } // Attempt to use an optimized reduction. -#if 0 else if (RunningOnGPU && data && (m_device.majorDeviceVersion() >= 3)) { bool reducing_inner_dims = true; for (int i = 0; i < NumReducedDims; ++i) { @@ -563,7 +562,6 @@ struct TensorEvaluator<const TensorReductionOp<Op, Dims, ArgType>, Device> return false; } } -#endif return true; } |