Skip to content

Commit

Permalink
Update lstm_int8.h
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored May 6, 2024
1 parent f47aad9 commit 951ab60
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/layer/x86/lstm_int8.h
Original file line number Diff line number Diff line change
Expand Up @@ -1992,11 +1992,7 @@ static void lstm_int8(const Mat& bottom_blob_int8, const Mat& bottom_blob_int8_d

__m512i _hh_cont0 = _mm512_shuffle_epi32(_hh_cont, _MM_PERM_AAAA);

#if __AVX512VNNI__
_lstm_IFOGh0 = _mm512_dpwssd_epi32(_lstm_IFOGh0, _ww, _hh_cont0);
#else
_lstm_IFOGh0 = _mm512_add_epi32(_lstm_IFOGh0, _mm512_madd_epi16(_ww, _hh_cont0));
#endif // __AVX512VNNI__

kptr += 32;
}
Expand Down

0 comments on commit 951ab60

Please sign in to comment.