Skip to content

Commit

Permalink
Merge branch 'main-dev' of https://github.com/ashvardanian/SimSIMD in…
Browse files Browse the repository at this point in the history
…to main-dev
  • Loading branch information
ashvardanian committed Oct 18, 2024
2 parents b79d45a + 252fba7 commit dc82525
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions include/simsimd/simsimd.h
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ SIMSIMD_INTERNAL void _simsimd_find_metric_punned_implementation( //
case simsimd_datatype_unknown_k: break;

// These data-types are not supported yet
case simsimd_datatype_i4x2_k: break;
case simsimd_datatype_i16_k: break;
case simsimd_datatype_i32_k: break;
case simsimd_datatype_i64_k: break;
Expand Down
6 changes: 3 additions & 3 deletions include/simsimd/spatial.h
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,9 @@ SIMSIMD_PUBLIC void simsimd_cos_u8_neon(simsimd_u8_t const* a, simsimd_u8_t cons
simsimd_distance_t* result) {

simsimd_size_t i = 0;
int32x4_t ab_vec = vdupq_n_u32(0);
int32x4_t a2_vec = vdupq_n_u32(0);
int32x4_t b2_vec = vdupq_n_u32(0);
uint32x4_t ab_vec = vdupq_n_u32(0);
uint32x4_t a2_vec = vdupq_n_u32(0);
uint32x4_t b2_vec = vdupq_n_u32(0);
for (; i + 16 <= n; i += 16) {
uint8x16_t a_vec = vld1q_u8(a + i);
uint8x16_t b_vec = vld1q_u8(b + i);
Expand Down

0 comments on commit dc82525

Please sign in to comment.