From 3ebc81dcd99ef122c07cb3e53ecabe9f1e444aef Mon Sep 17 00:00:00 2001 From: Wilber Date: Tue, 30 Jun 2020 16:33:40 +0800 Subject: [PATCH] [Cherry-pick] Support compile for arm ft (#25264) --- paddle/fluid/platform/cpu_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/platform/cpu_info.cc b/paddle/fluid/platform/cpu_info.cc index ad1a630c6ae..63760ada2b4 100644 --- a/paddle/fluid/platform/cpu_info.cc +++ b/paddle/fluid/platform/cpu_info.cc @@ -165,11 +165,11 @@ bool MayIUse(const cpu_isa_t cpu_isa) { return (reg[1] & avx512f_mask) != 0; } } +#endif return false; } } #endif -#endif } // namespace platform } // namespace paddle -- GitLab