diff --git a/Eigen/src/Core/arch/CUDA/PacketMathHalf.h b/Eigen/src/Core/arch/CUDA/PacketMathHalf.h index 18a25de8e..267c8d5e3 100644 --- a/Eigen/src/Core/arch/CUDA/PacketMathHalf.h +++ b/Eigen/src/Core/arch/CUDA/PacketMathHalf.h @@ -529,15 +529,7 @@ ptranspose(PacketBlock& kernel) { } -#elif defined(EIGEN_VECTORIZE_SSE) && !EIGEN_ARCH_x86_64 - -} // end namespace internal -} // end namespace Eigen - -#include - -namespace Eigen { -namespace internal { +#elif defined(EIGEN_VECTORIZE_SSE) && (!EIGEN_ARCH_x86_64) && (!EIGEN_COMP_MSVC) typedef struct { __m64 x; diff --git a/Eigen/src/Core/arch/CUDA/TypeCasting.h b/Eigen/src/Core/arch/CUDA/TypeCasting.h index a06675812..6f1e5e661 100644 --- a/Eigen/src/Core/arch/CUDA/TypeCasting.h +++ b/Eigen/src/Core/arch/CUDA/TypeCasting.h @@ -128,12 +128,7 @@ template<> EIGEN_STRONG_INLINE Packet8h pcast(const Packet8f return float2half(a); } -#elif defined(EIGEN_VECTORIZE_SSE) && !EIGEN_ARCH_x86_64 - -} // end namespace internal -} // end namespace Eigen - -#include +#elif defined(EIGEN_VECTORIZE_SSE) && (!EIGEN_ARCH_x86_64) && (!EIGEN_COMP_MSVC) namespace Eigen { namespace internal {