Skip to content

Commit 8715231

Browse files
authored
Merge branch 'main' into main
2 parents a088125 + 3614cc7 commit 8715231

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

faiss/utils/utils.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,10 @@ std::string get_compile_options() {
115115
options += "OPTIMIZE ";
116116
#endif
117117

118-
#ifdef __AVX2__
119-
options += "AVX2 ";
120118
#ifdef __AVX512F__
121119
options += "AVX512 ";
122-
#endif
120+
#elif defined(__AVX2__)
121+
options += "AVX2 ";
123122
#elif defined(__ARM_FEATURE_SVE)
124123
options += "SVE NEON ";
125124
#elif defined(__aarch64__)

0 commit comments

Comments
 (0)