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 e5d46aa commit f271dc9Copy full SHA for f271dc9
include/svs/core/distance/simd_utils.h
@@ -333,7 +333,7 @@ template <> struct ConvertToFloat<8> {
333
// from float
334
static __m256 load(const float* ptr) { return _mm256_loadu_ps(ptr); }
335
static __m256 load(mask_t m, const float* ptr) {
336
- // Full width load with blending may case out-of-bounds read (SEGV)
+ // Full width load with blending may cause out-of-bounds read (SEGV)
337
// Therefore we use _mm256_maskload_ps which safely handles masked loads
338
auto mask_vec = _mm256_castps_si256(create_blend_mask_avx2(m));
339
return _mm256_maskload_ps(ptr, mask_vec);
0 commit comments