diff options
author | Antonio Sanchez <cantonios@google.com> | 2021-06-16 14:36:42 -0700 |
---|---|---|
committer | Antonio Sanchez <cantonios@google.com> | 2021-06-16 18:41:17 -0700 |
commit | 12e8d57108c50d8a63605c6eb0144c838c128337 (patch) | |
tree | 2b3e2cd885e153d50cd6794f22e9b3f07186e81c /Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h | |
parent | ef1fd341a895fda883f655102f371fa8b41f2088 (diff) |
Remove pset, replace with ploadu.
We can't make guarantees on alignment for existing calls to `pset`,
so we should default to loading unaligned. But in that case, we should
just use `ploadu` directly. For loading constants, this load should hopefully
get optimized away.
This is causing segfaults in Google Maps.
Diffstat (limited to 'Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h')
-rw-r--r-- | Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h b/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h index 637e5f4af..177a04e93 100644 --- a/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +++ b/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h @@ -17,10 +17,6 @@ namespace internal { // implemented in GenericPacketMathFunctions.h // This is needed to workaround a circular dependency. -/** \internal \returns a packet with constant coefficients \a a, e.g.: (a[N-1],...,a[0]) */ -template<typename Packet, int N> EIGEN_DEVICE_FUNC inline Packet -pset(const typename unpacket_traits<Packet>::type (&a)[N] /* a */); - /*************************************************************************** * Some generic implementations to be used by implementors ***************************************************************************/ |