There was an error while loading. Please reload this page.
1 parent af45a3b commit 3e313e4Copy full SHA for 3e313e4
1 file changed
faiss/utils/simd_levels.h
@@ -163,6 +163,14 @@ struct FAISS_API SIMDConfig {
163
164
static SIMDLevel auto_detect_simd_level();
165
166
+ static constexpr bool has_dynamic_dispatch() {
167
+#ifdef FAISS_ENABLE_DD
168
+ return true;
169
+#else
170
+ return false;
171
+#endif
172
+ }
173
+
174
SIMDConfig(const char** faiss_simd_level_env = nullptr);
175
176
/// Set the SIMD level. Throws FaissException if level is not supported.
0 commit comments