Skip to content

Commit

Permalink
validation
Browse files Browse the repository at this point in the history
  • Loading branch information
aobolensk committed Jan 17, 2025
1 parent c1e88ef commit 09c17fa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/common/snippets/src/lowered/pass/validate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ bool Validate::run(LinearIR& linear_ir, lowered::LinearIR::constExprIt begin, lo
if (found != m_validation_map.cend()) {
(found->second)(expr, linear_ir);
}
OPENVINO_ASSERT(expr->get_output_count() == node->get_output_size() ||
ov::is_type<op::LoopEnd>(node) ||
ov::is_type<ov::op::v0::Result>(node), "Incorrect count of output port descriptors!");
OPENVINO_ASSERT(expr->get_output_count() == node->get_output_size() || ov::is_type<op::LoopEnd>(node) ||
ov::is_type<snippets::op::PerfCountBegin>(node) ||
ov::is_type<snippets::op::PerfCountEnd>(node) || ov::is_type<ov::op::v0::Result>(node),
"Incorrect count of output port descriptors!");
expr->validate();
// Loop expr doesn't have shapes and layouts
if (!ov::is_type<op::LoopBase>(node))
Expand Down

0 comments on commit 09c17fa

Please sign in to comment.