aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/GPU
diff options
context:
space:
mode:
authorGravatar Eugene Zhulenev <ezhulenev@google.com>2019-05-07 16:44:55 -0700
committerGravatar Eugene Zhulenev <ezhulenev@google.com>2019-05-07 16:44:55 -0700
commit45b40d91ca82abbafa0566504c132641bd5bbafe (patch)
tree2cf4ad4a22c22daf973e5632d0d4a3cd89276725 /Eigen/src/Core/arch/GPU
parente6667a7060bbafdf0e0544a09882c86e9e283db1 (diff)
Fix AVX512 & GCC 6.3 compilation
Diffstat (limited to 'Eigen/src/Core/arch/GPU')
-rw-r--r--Eigen/src/Core/arch/GPU/PacketMathHalf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/GPU/PacketMathHalf.h b/Eigen/src/Core/arch/GPU/PacketMathHalf.h
index de91db4c3..0777105cf 100644
--- a/Eigen/src/Core/arch/GPU/PacketMathHalf.h
+++ b/Eigen/src/Core/arch/GPU/PacketMathHalf.h
@@ -595,7 +595,7 @@ template<> EIGEN_STRONG_INLINE Packet16h ploadu<Packet16h>(const Eigen::half* fr
uint16_t umask) {
__mmask16 mask = static_cast<__mmask16>(umask);
Packet16h result;
- result.x = _mm256_maskz_loadu_epi16(mask, from);
+ result.x = _mm256_maskz_loadu_epi16(mask, reinterpret_cast<const __m256i*>(from));
return result;
}