From e09a7c793d795bf876465f2084b7f564017e75d5 Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Mon, 5 Nov 2018 07:50:27 +0000 Subject: [PATCH] remove the warning log since do not have avx2, avx512 flags test=develop --- paddle/fluid/platform/init.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/paddle/fluid/platform/init.cc b/paddle/fluid/platform/init.cc index ab91ca53450..a4e49792038 100644 --- a/paddle/fluid/platform/init.cc +++ b/paddle/fluid/platform/init.cc @@ -116,16 +116,6 @@ void InitDevices(bool init_p2p, const std::vector devices) { platform::SetNumThreads(FLAGS_paddle_num_threads); #endif - if (platform::jit::MayIUse(platform::jit::avx512f)) { -#ifndef __AVX512F__ - LOG(WARNING) << "AVX512F is available, Please re-compile on local machine"; -#endif - } - if (platform::jit::MayIUse(platform::jit::avx2)) { -#ifndef __AVX2__ - LOG(WARNING) << "AVX2 is available, Please re-compile on local machine"; -#endif - } if (platform::jit::MayIUse(platform::jit::avx)) { #ifndef __AVX__ LOG(WARNING) << "AVX is available, Please re-compile on local machine"; -- GitLab