Skip to content

Commit

Permalink
simplify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
wilson-seok committed Nov 15, 2024
1 parent bf48bf2 commit 57eb530
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/intel_gpu/src/graph/primitive_inst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,7 @@ void primitive_inst::update_shape() {
continue;
}

if (!get_node().is_type<shape_of>() &&
!(dep->get_node().is_in_shape_of_subgraph() && dep->get_node().get_selected_impl()->is_cpu())) {
if (!get_node().is_type<shape_of>() && !dep->get_node().get_selected_impl()->is_cpu()) {
has_runtime_deps = true;

// Events may be not created for in-order queue, so take them for OOO queue only
Expand Down

0 comments on commit 57eb530

Please sign in to comment.