Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/FBGEMM.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/Utils.cc6
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