Skip to content

Commit

Permalink
Fix CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
umadevimcw committed Aug 7, 2024
1 parent 2219c8e commit 73fcc62
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/configs/binary-elementwise-config.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ static struct xnn_binary_elementwise_config qs16_vmul_config = {0};
static struct xnn_binary_elementwise_config qu8_vadd_config = {0};
static struct xnn_binary_elementwise_config qu8_vmul_config = {0};

<<<<<<< HEAD
XNN_INIT_ONCE_GUARD(f16_vadd);
XNN_INIT_ONCE_GUARD(f16_vdiv);
XNN_INIT_ONCE_GUARD(f16_vmax);
Expand Down
2 changes: 1 addition & 1 deletion src/xnnpack/simd/s16-avx512bw.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static XNN_INLINE xnn_simd_s16_t xnn_set1_s16(int16_t v) {

static XNN_INLINE xnn_simd_s16_t xnn_set1_or_load_s16(const int16_t* v) {
#if XNN_ARCH_X86
return _mm512_load_epiint16_t((const __m128i*)v);
return _mm512_load_si512((const __m128i*)v);
#else
return _mm512_set1_epi16(*v);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/xnnpack/simd/s32-neon.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static XNN_INLINE xnn_simd_s32_t xnn_min_s32(xnn_simd_s32_t a,
}

static XNN_INLINE xnn_simd_s32_t xnn_cvt_s32_s16(xnn_simd_s32_t a, xnn_simd_s32_t b) {
return vcombine_s16(vqmovn_s32(a), vqmovn_s32(b));
return vreinterpretq_s32_s16(vcombine_s16(vqmovn_s32(a), vqmovn_s32(b)));
}

static XNN_INLINE float32x4_t xnn_cvt_s32_f32(xnn_simd_s32_t a) {
Expand Down

0 comments on commit 73fcc62

Please sign in to comment.