Skip to content

Commit

Permalink
cpu: x64: rnn: Fixed a bug that forced the usage of avx_512_core even…
Browse files Browse the repository at this point in the history
… when avx_512_core_vnni is available.
  • Loading branch information
davideberius authored and xuxinzen committed Oct 21, 2024
1 parent 39a5f67 commit bf58e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpu/x64/rnn/rnn_brgemm_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ x64::cpu_isa_t brgemm_calc_isa(

if (rnn.is_cell_dt_int8()) {
return utils::map(true, x64::isa_undef, mayiuse(avx512_core_vnni),
avx512_core, mayiuse(avx512_core), avx512_core);
avx512_core_vnni, mayiuse(avx512_core), avx512_core);
} else if (rnn.is_cell_dt_bf16()) {
return x64::avx512_core_bf16;
} else if (rnn.is_cell_dt_f16()) {
Expand Down

0 comments on commit bf58e72

Please sign in to comment.