1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Added "kernels" pass stage to compiler, removed unused opaque from cv::gimpl::Op

This commit is contained in:
Ruslan Garnov
2018-12-12 17:22:52 +03:00
parent 82227b5ace
commit d38676085a
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ ade::NodeHandle GModel::mkOpNode(GModel::Graph &g, const GKernel &k, const std::
ade::NodeHandle op_h = g.createNode();
g.metadata(op_h).set(NodeType{NodeType::OP});
//These extra empty {} are to please GCC (-Wmissing-field-initializers)
g.metadata(op_h).set(Op{k, args, {}, {}, {}});
g.metadata(op_h).set(Op{k, args, {}, {}});
if (!island.empty())
g.metadata(op_h).set(Island{island});
return op_h;