From ef66f2887bcea54e63d043c0cae69430d660492e Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Mon, 1 Feb 2016 14:38:05 -0800 Subject: [PATCH] Updated the matrix multiplication code to make it compile with AVX512 enabled. --- Eigen/src/Core/products/GeneralBlockPanelKernel.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Eigen/src/Core/products/GeneralBlockPanelKernel.h b/Eigen/src/Core/products/GeneralBlockPanelKernel.h index 37e2e39f1..665339c58 100644 --- a/Eigen/src/Core/products/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/products/GeneralBlockPanelKernel.h @@ -595,7 +595,7 @@ DoublePacket padd(const DoublePacket &a, const DoublePacket -const DoublePacket& predux4(const DoublePacket &a) +const DoublePacket& predux_half(const DoublePacket &a) { return a; } @@ -1682,10 +1682,10 @@ void gebp_kernel::half,SResPacket>::type SResPacketHalf; - typedef typename conditional::half,SLhsPacket>::type SLhsPacketHalf; - typedef typename conditional::half,SRhsPacket>::type SRhsPacketHalf; - typedef typename conditional::half,SAccPacket>::type SAccPacketHalf; + typedef typename conditional=8,typename unpacket_traits::half,SResPacket>::type SResPacketHalf; + typedef typename conditional=8,typename unpacket_traits::half,SLhsPacket>::type SLhsPacketHalf; + typedef typename conditional=8,typename unpacket_traits::half,SRhsPacket>::type SRhsPacketHalf; + typedef typename conditional=8,typename unpacket_traits::half,SAccPacket>::type SAccPacketHalf; SResPacketHalf R = res.template gatherPacket(i, j2); SResPacketHalf alphav = pset1(alpha); @@ -1697,13 +1697,13 @@ void gebp_kernel