Closed mengdilin closed 3 months ago
This pull request was exported from Phabricator. Differential Revision: D61674490
@mengdilin technically, according to the way this function is organized, this function is expected to return a single compilation option, not to list ones. The issue is valid, but the fix should be different
#ifdef __AVX512F__
options += "AVX512 ";
#elif __AVX2__
options += "AVX2 ";
#endif
This pull request has been merged in facebookresearch/faiss@6053348b2e0d7997e2e29349bd05bd4d53f9d984.
@alexanderguzhva addressed by https://github.com/facebookresearch/faiss/pull/3798
Summary: Right now when avx512 is turned on, we will only return AVX2 in options. My understanding is turning on avx512 sets both the macros
__AVX2__
and__AVX512F__
: https://fburl.com/vgh7jg9pReviewed By: asadoughi
Differential Revision: D61674490