Skip to content

Commit

Permalink
[GPU] Fixed eltwise fusing check in onednn case (openvinotoolkit#24469)
Browse files Browse the repository at this point in the history
### Details:
 - *Fix for openvinotoolkit#24308
  • Loading branch information
Lyamin-Roman authored May 13, 2024
1 parent fa9d519 commit 4a65a3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ void prepare_primitive_fusing::fuse_simple_primitives(program &p) {
auto fused_node = parents[fused_idx].first;
auto peer_node = parents[peer_idx].first;

if (_lo.get_optimization_attributes().use_onednn_impls && _lo.is_node_suitable_for_onednn(*fused_node)) {
if (_lo.get_optimization_attributes().use_onednn_impls && _lo.is_primitive_implemented_for_onednn(*fused_node)) {
auto eltw_in_size = peer_node->get_output_layout();
if (eltw_in_size.is_dynamic())
return;
Expand Down

0 comments on commit 4a65a3e

Please sign in to comment.