mirror of
https://github.com/opencv/opencv.git
synced 2026-11-21 00:35:35 -06:00
Enable stateful kernels in G-API OCV Backend
This commit is contained in:
@@ -265,3 +265,11 @@ void cv::gimpl::GExecutor::reshape(const GMetaArgs& inMetas, const GCompileArgs&
|
||||
passes::inferMeta(ctx, true);
|
||||
m_ops[0].isl_exec->reshape(g, args);
|
||||
}
|
||||
|
||||
void cv::gimpl::GExecutor::prepareForNewStream()
|
||||
{
|
||||
for (auto &op : m_ops)
|
||||
{
|
||||
op.isl_exec->handleNewStream();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user