解决不支持avx指令集的x86环境编译失败问题
This commit is contained in:
@ -709,7 +709,7 @@ VectorL2SquaredDistance(int dim, float *ax, float *bx)
|
||||
}
|
||||
return distance;
|
||||
}
|
||||
#elif defined(__x86_64__)
|
||||
#elif defined(__x86_64__) && defined(__AVX__)
|
||||
static inline __m128 masked_read(int d, const float *x)
|
||||
{
|
||||
__attribute__((__aligned__(16))) float buf[4];
|
||||
|
||||
Reference in New Issue
Block a user