Skip to content

Commit a2b8d4c

Browse files
varad-ahirwadkarmgouicem
authored andcommitted
build: Fix the build failure on Power 10
Signed-off-by: Varad Ahirwadkar <varad.ahirwadkar1@ibm.com>
1 parent 5f18f4d commit a2b8d4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cpu/ppc64/ppc64_gemm_s8x8s32.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,9 @@ dnnl_status_t cblas_gemm_s8x8s32_ppc64(int ATflag, int BTflag,
150150
}
151151
}
152152
for (int i = 0; i < m; ++i) {
153-
comparray[i] = out_round<int32_t>(saturate<int32_t>(
154-
((double)comparray[i]) * alpha * -128.0));
153+
comparray[i] = cpu::q10n::out_round<int32_t>(
154+
cpu::q10n::saturate<int32_t>(
155+
((double)comparray[i]) * alpha * -128.0));
155156
}
156157
for (int j = 0; j < n; ++j) {
157158
int *ca = comparray;

0 commit comments

Comments
 (0)