diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-10-12 14:37:56 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-10-12 14:37:56 -0700 |
commit | 38b6048e1443d36d74760176ebe048bd8cd59446 (patch) | |
tree | 2d8aaa422659670b8add3818d1dfcbc9e251cc10 | |
parent | 78d2926508857f0885779b0997462de5ec378142 (diff) |
Deleted redundant implementation of predux
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | Eigen/src/Core/arch/CUDA/PacketMathHalf.h | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ca54af5f..20208bd23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,6 +133,7 @@ if(NOT MSVC) if(COMPILER_SUPPORT_WERROR) set(CMAKE_REQUIRED_FLAGS "-Werror") endif() + ei_add_cxx_compiler_flag("-static") ei_add_cxx_compiler_flag("-pedantic") ei_add_cxx_compiler_flag("-Wall") ei_add_cxx_compiler_flag("-Wextra") diff --git a/Eigen/src/Core/arch/CUDA/PacketMathHalf.h b/Eigen/src/Core/arch/CUDA/PacketMathHalf.h index 4f8958c38..d670f3718 100644 --- a/Eigen/src/Core/arch/CUDA/PacketMathHalf.h +++ b/Eigen/src/Core/arch/CUDA/PacketMathHalf.h @@ -839,11 +839,6 @@ template<> EIGEN_STRONG_INLINE Packet8h pmul<Packet8h>(const Packet8h& a, const return float2half(rf); } -template<> EIGEN_STRONG_INLINE half predux<Packet8h>(const Packet8h& from) { - Packet8f from_float = half2float(from); - return half(predux(from_float)); -} - template<> EIGEN_STRONG_INLINE Packet8h pgather<Eigen::half, Packet8h>(const Eigen::half* from, Index stride) { Packet8h result; |