Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Dec 16, 2024
1 parent 301f902 commit b69bb0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
files: build/lcov.info

linux-gcc-x64-sde:
name: gcc-sde-${{ matrix.cpu }}
name: linux-gcc-sde-${{ matrix.cpu }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
Expand Down
16 changes: 8 additions & 8 deletions src/layer/x86/gemm_int8.h
Original file line number Diff line number Diff line change
Expand Up @@ -13718,12 +13718,12 @@ static void gemm_transB_packed_tile_int8(const Mat& AT_tile, const Mat& BT_tile,
}

pAT += max_kk * 8;
#if __AVX512VNNI__ || __AVXVNNI__
#if __AVX512VNNI__ || (__AVXVNNI__ && !__AVXVNNIINT8__)
if (max_kk >= 4)
{
pAT += 32;
}
#endif // __AVX512VNNI__ || __AVXVNNI__
#endif // __AVX512VNNI__ || (__AVXVNNI__ && !__AVXVNNIINT8__)
}
#endif // __AVX2__
for (; ii + 3 < max_ii; ii += 4)
Expand Down Expand Up @@ -14468,12 +14468,12 @@ static void gemm_transB_packed_tile_int8(const Mat& AT_tile, const Mat& BT_tile,
}

pAT += max_kk * 4;
#if __AVX512VNNI__ || __AVXVNNI__
#if __AVX512VNNI__ || (__AVXVNNI__ && !__AVXVNNIINT8__)
if (max_kk >= 4)
{
pAT += 16;
}
#endif // __AVX512VNNI__ || __AVXVNNI__
#endif // __AVX512VNNI__ || (__AVXVNNI__ && !__AVXVNNIINT8__)
}
#endif // __SSE2__
for (; ii + 1 < max_ii; ii += 2)
Expand Down Expand Up @@ -15031,12 +15031,12 @@ static void gemm_transB_packed_tile_int8(const Mat& AT_tile, const Mat& BT_tile,
}

pAT += max_kk * 2;
#if __AVX512VNNI__ || __AVXVNNI__
#if __AVX512VNNI__ || (__AVXVNNI__ && !__AVXVNNIINT8__)
if (max_kk >= 4)
{
pAT += 8;
}
#endif // __AVX512VNNI__ || __AVXVNNI__
#endif // __AVX512VNNI__ || (__AVXVNNI__ && !__AVXVNNIINT8__)
}
for (; ii < max_ii; ii += 1)
{
Expand Down Expand Up @@ -15442,12 +15442,12 @@ static void gemm_transB_packed_tile_int8(const Mat& AT_tile, const Mat& BT_tile,
}

pAT += max_kk;
#if __AVX512VNNI__ || __AVXVNNI__
#if __AVX512VNNI__ || (__AVXVNNI__ && !__AVXVNNIINT8__)
if (max_kk >= 4)
{
pAT += 4;
}
#endif // __AVX512VNNI__ || __AVXVNNI__
#endif // __AVX512VNNI__ || (__AVXVNNI__ && !__AVXVNNIINT8__)
}
}

Expand Down

0 comments on commit b69bb0f

Please sign in to comment.