Skip to content

Commit

Permalink
[X64] Fixed need_mask_register for eltwise injectors
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sidorova committed Aug 27, 2024
1 parent 234b379 commit c8ae8d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cpu/x64/injectors/jit_uni_eltwise_injector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1998,6 +1998,9 @@ bool jit_uni_eltwise_injector_f32<isa, Wmm>::need_mask_register(
case eltwise_round: return false;
case eltwise_hardswish: return false;
case eltwise_hardsigmoid: return false;
case eltwise_hsigmoid: return false;
case eltwise_round_half_to_even: return false;
case eltwise_round_half_away_from_zero: return true;
default: assert(!"unsupported eltwise algorithm");
}
} else {
Expand Down

0 comments on commit c8ae8d9

Please sign in to comment.