diff options
author | Young Jin Kim <youki@microsoft.com> | 2019-09-17 19:52:24 +0300 |
---|---|---|
committer | Young Jin Kim <youki@microsoft.com> | 2019-09-17 19:52:24 +0300 |
commit | f0b354327aaf2330c65340725b1981040c8bec9e (patch) | |
tree | 8c6408445dd9b1296cfc619a7a2bc4106e89a116 | |
parent | 57dcf55075e7173fd21eb81d825133aa740c7255 (diff) |
Enable AVX2 query API when compiled with AVX
-rwxr-xr-x | src/Utils.cc | 6 |
1 files changed, 0 insertions, 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 |