Skip to content

Commit

Permalink
set CompUndef equals CompFp32
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Nov 23, 2023
1 parent 5e18e3b commit 7cd6b78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions onnxruntime/core/mlas/lib/jblas_gemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ JblasQ4GemmPackBSize(size_t N, size_t K, size_t BlkSize, bool isAsym, MLAS_COMPU
case CompBf16:
case CompFp16:
case CompFp32:
case CompUndef:
if (_cd->AVX512F() && BlkSize % tAVX512F::KTILE == 0) {
return JblasQ4BuSize<tLauncher_Int8_S4_F32F32<tAVX512F>>(int(BlkSize), N, K, isAsym);
}
Expand Down Expand Up @@ -318,6 +319,7 @@ JblasQ4GemmPackB(
case CompBf16:
case CompFp16:
case CompFp32:
case CompUndef:
if (_cd->AVX512F() && BlkSize % tAVX512F::KTILE == 0) {
JblaNBitsGemmPackB<tLauncher_Fp32_S4_F32F32<tAVX512F>>(
PackedBuf, int(BlkSize), QData, Scale, Zp, int(N), int(K), isAsym, lastCall, int(ldb), ThreadPool
Expand Down

0 comments on commit 7cd6b78

Please sign in to comment.