Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
07f0225c
Commit
07f0225c
authored
Sep 02, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15438 from anton-potapov:fluid_internal_parallellism_fix_kw
parents
8a7e7467
f7b59006
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
gfluidbackend.cpp
modules/gapi/src/backends/fluid/gfluidbackend.cpp
+5
-12
No files found.
modules/gapi/src/backends/fluid/gfluidbackend.cpp
View file @
07f0225c
...
...
@@ -802,21 +802,14 @@ cv::gimpl::FluidGraphInputData cv::gimpl::fluidExtractInputDataFromGraph(const a
cv
::
gimpl
::
GFluidExecutable
::
GFluidExecutable
(
const
ade
::
Graph
&
g
,
const
cv
::
gimpl
::
FluidGraphInputData
&
traverse_res
,
const
std
::
vector
<
cv
::
gapi
::
own
::
Rect
>
&
outputRois
)
:
m_g
(
g
),
m_gm
(
m_g
)
:
m_g
(
g
),
m_gm
(
m_g
),
m_num_int_buffers
(
traverse_res
.
m_mat_count
),
m_scratch_users
(
traverse_res
.
m_scratch_users
),
m_id_map
(
traverse_res
.
m_id_map
),
m_all_gmat_ids
(
traverse_res
.
m_all_gmat_ids
)
{
GConstFluidModel
fg
(
m_g
);
auto
tie_traverse_res
=
[
&
traverse_res
](){
auto
&
r
=
traverse_res
;
return
std
::
tie
(
r
.
m_scratch_users
,
r
.
m_id_map
,
r
.
m_all_gmat_ids
,
r
.
m_mat_count
);
};
auto
tie_this
=
[
this
](){
return
std
::
tie
(
m_scratch_users
,
m_id_map
,
m_all_gmat_ids
,
m_num_int_buffers
);
};
tie_this
()
=
tie_traverse_res
();
auto
create_fluid_agent
=
[
&
g
](
agent_data_t
const
&
agent_data
)
->
std
::
unique_ptr
<
FluidAgent
>
{
std
::
unique_ptr
<
FluidAgent
>
agent_ptr
;
switch
(
agent_data
.
kind
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment