Skip to content

Commit bf58e72

Browse files
davideberiusxuxinzen
authored andcommitted
cpu: x64: rnn: Fixed a bug that forced the usage of avx_512_core even when avx_512_core_vnni is available.
1 parent 39a5f67 commit bf58e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpu/x64/rnn/rnn_brgemm_utils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ x64::cpu_isa_t brgemm_calc_isa(
8585

8686
if (rnn.is_cell_dt_int8()) {
8787
return utils::map(true, x64::isa_undef, mayiuse(avx512_core_vnni),
88-
avx512_core, mayiuse(avx512_core), avx512_core);
88+
avx512_core_vnni, mayiuse(avx512_core), avx512_core);
8989
} else if (rnn.is_cell_dt_bf16()) {
9090
return x64::avx512_core_bf16;
9191
} else if (rnn.is_cell_dt_f16()) {

0 commit comments

Comments
 (0)