From a1fa18542f308cc6c8a495f36ef72428b03ee704 Mon Sep 17 00:00:00 2001 From: peizhilin Date: Sun, 18 Nov 2018 12:56:03 +0800 Subject: [PATCH] rollback test=develop --- paddle/fluid/operators/math/jit_code.cc | 5 ----- paddle/fluid/platform/cpu_info.h | 5 ----- paddle/fluid/platform/enforce.h | 5 ----- 3 files changed, 15 deletions(-) diff --git a/paddle/fluid/operators/math/jit_code.cc b/paddle/fluid/operators/math/jit_code.cc index 0f4b8f65ac..e3b600d442 100644 --- a/paddle/fluid/operators/math/jit_code.cc +++ b/paddle/fluid/operators/math/jit_code.cc @@ -118,12 +118,7 @@ void VXXJitCode::generate() { ret(); } -#ifdef _WIN32 -#define ALIGN32 -#else #define ALIGN32 __attribute__((aligned(32))) -#endif - #define EXP_HIG 88.3762626647949f #define EXP_LOW -88.3762626647949f #define CEPHES_LOG2EF 1.44269504088896341 diff --git a/paddle/fluid/platform/cpu_info.h b/paddle/fluid/platform/cpu_info.h index 1b4840d9a1..6810a1651a 100644 --- a/paddle/fluid/platform/cpu_info.h +++ b/paddle/fluid/platform/cpu_info.h @@ -14,11 +14,6 @@ limitations under the License. */ #pragma once -#ifdef _WIN32 -#undef __AVX__ -#undef __AVX2__ -#endif - #include namespace paddle { diff --git a/paddle/fluid/platform/enforce.h b/paddle/fluid/platform/enforce.h index c03bbd59ac..a251bfcd99 100644 --- a/paddle/fluid/platform/enforce.h +++ b/paddle/fluid/platform/enforce.h @@ -14,11 +14,6 @@ limitations under the License. */ #pragma once -#ifdef _WIN32 -#undef __AVX__ -#undef __AVX2__ -#endif - #ifdef __GNUC__ #include // for __cxa_demangle #endif // __GNUC__ -- GitLab