Skip to content

Commit

Permalink
cpu: rnn: enable f16 for non-amx isa
Browse files Browse the repository at this point in the history
  • Loading branch information
ankalinin committed Sep 24, 2024
1 parent 0aa315e commit fd8e5da
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 @@ -89,7 +89,7 @@ x64::cpu_isa_t brgemm_calc_isa(
} else if (rnn.is_cell_dt_bf16()) {
return x64::avx512_core_bf16;
} else if (rnn.is_cell_dt_f16()) {
return isa_undef;
return x64::avx512_core_fp16;
} else { // f32
return utils::map(true, x64::isa_undef, mayiuse(avx512_core),
avx512_core, mayiuse(avx2), avx2);
Expand Down

0 comments on commit fd8e5da

Please sign in to comment.