We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 641e62b commit 324426dCopy full SHA for 324426d
hnswlib/space_ip.h
@@ -297,12 +297,13 @@ namespace hnswlib {
297
InnerProductSIMD16Ext = InnerProductSIMD16ExtAVX512;
298
else if (AVXCapable())
299
InnerProductSIMD16Ext = InnerProductSIMD16ExtAVX;
300
+ #elif defined(USE_AVX)
301
+ if (AVXCapable())
302
+ InnerProductSIMD16Ext = InnerProductSIMD16ExtAVX;
303
#endif
304
#if defined(USE_AVX)
- if (AVXCapable()) {
- InnerProductSIMD16Ext = InnerProductSIMD16ExtAVX;
305
306
InnerProductSIMD4Ext = InnerProductSIMD4ExtAVX;
- }
307
308
309
if (dim % 16 == 0)
0 commit comments