From 41456e172384667de0b8b272fa5714c96a73a297 Mon Sep 17 00:00:00 2001 From: peizhilin Date: Mon, 17 Dec 2018 15:19:17 +0800 Subject: [PATCH] Remove the useless definition test=develop --- paddle/fluid/platform/cpu_info.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/paddle/fluid/platform/cpu_info.h b/paddle/fluid/platform/cpu_info.h index 70224f946..c70e3be85 100644 --- a/paddle/fluid/platform/cpu_info.h +++ b/paddle/fluid/platform/cpu_info.h @@ -36,12 +36,6 @@ limitations under the License. */ #define ALIGN32_END __attribute__((aligned(32))) #endif // _WIN32 -#if defined(_WIN32) -#if defined(__AVX2__) || defined(__AVX__) -inline __m256 operator+=(__m256 a, __m256 b) { return _mm256_add_ps(a, b); } -#endif -#endif - namespace paddle { namespace platform { -- GitLab