mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 12:19:12 +08:00
Deleted redundant implementation of predux
This commit is contained in:
parent
78d2926508
commit
38b6048e14
@ -133,6 +133,7 @@ if(NOT MSVC)
|
|||||||
if(COMPILER_SUPPORT_WERROR)
|
if(COMPILER_SUPPORT_WERROR)
|
||||||
set(CMAKE_REQUIRED_FLAGS "-Werror")
|
set(CMAKE_REQUIRED_FLAGS "-Werror")
|
||||||
endif()
|
endif()
|
||||||
|
ei_add_cxx_compiler_flag("-static")
|
||||||
ei_add_cxx_compiler_flag("-pedantic")
|
ei_add_cxx_compiler_flag("-pedantic")
|
||||||
ei_add_cxx_compiler_flag("-Wall")
|
ei_add_cxx_compiler_flag("-Wall")
|
||||||
ei_add_cxx_compiler_flag("-Wextra")
|
ei_add_cxx_compiler_flag("-Wextra")
|
||||||
|
@ -839,11 +839,6 @@ template<> EIGEN_STRONG_INLINE Packet8h pmul<Packet8h>(const Packet8h& a, const
|
|||||||
return float2half(rf);
|
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)
|
template<> EIGEN_STRONG_INLINE Packet8h pgather<Eigen::half, Packet8h>(const Eigen::half* from, Index stride)
|
||||||
{
|
{
|
||||||
Packet8h result;
|
Packet8h result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user