Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Oct 8, 2024
1 parent 6a1c346 commit 878f723
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/layer/arm/gemm_int8_fp16s.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,7 @@ static void compute_A_tile_fp16_int8_scales(const Mat& A, Mat& scales, float B_s
_amax0 = vmaxq_f16(_amax0, vabsq_f16(_p));
p0 += 8;
}
float16x4_t _aa = vmax_f16(vget_low_f16(_amax0), vget_high_f16(_amax0));
absmax = vmaxvq_f32(vcvt_f32_f16(_aa));
absmax = (float)vmaxvq_f16(_amax0);
for (; kk < K; kk++)
{
absmax = std::max(absmax, (float)fabsf(p0[0]));
Expand Down

0 comments on commit 878f723

Please sign in to comment.