Skip to content

Commit

Permalink
[Snippets] Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sidorova committed Sep 5, 2024
1 parent b6daa85 commit a658924
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ class ExpressionFactory {
};
using ExpressionFactoryPtr = std::shared_ptr<ExpressionFactory>;

template<>
std::shared_ptr<Expression> ExpressionFactory::build(const std::shared_ptr<Node>& n, const std::vector<PortConnectorPtr>& inputs);

} // namespace lowered
} // namespace snippets
} // namespace ov
2 changes: 1 addition & 1 deletion src/common/snippets/src/generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ LoweringResult Generator::generate(const lowered::LinearIRPtr& linear_ir, const

const auto kernel_op = op::Kernel::make_kernel(*linear_ir);
kernel_op->compile_params = compile_params;
const auto kernel_expr = linear_ir->get_expr_factory()->build(kernel_op, std::vector<lowered::PortConnectorPtr>{});
const auto kernel_expr = linear_ir->get_expr_factory()->build<>(kernel_op, std::vector<lowered::PortConnectorPtr>{});
const auto kernel = target->get(kernel_expr->get_node()->get_type_info())(kernel_expr);

kernel->emit_code({}, {});
Expand Down

0 comments on commit a658924

Please sign in to comment.