From f0b354327aaf2330c65340725b1981040c8bec9e Mon Sep 17 00:00:00 2001 From: Young Jin Kim Date: Tue, 17 Sep 2019 09:52:24 -0700 Subject: Enable AVX2 query API when compiled with AVX --- src/Utils.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Utils.cc b/src/Utils.cc index 8569553..355a5cb 100755 --- a/src/Utils.cc +++ b/src/Utils.cc @@ -202,14 +202,8 @@ bool fbgemmHasAvx512Support() { cpuinfo_has_x86_avx512dq() && cpuinfo_has_x86_avx512vl()); } -#ifdef __AVX2__ bool fbgemmHasAvx2Support() { return (cpuinfo_initialize() && cpuinfo_has_x86_avx2()); } -#else -bool fbgemmHasAvx2Support() { - return false; -} -#endif } // namespace fbgemm -- cgit v1.2.3