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
ad568380
Commit
ad568380
authored
Dec 07, 2019
by
Dmitry Kurtaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace .png to .dot
parent
202ba124
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
18 deletions
+19
-18
20-kernel-api.markdown
modules/gapi/doc/20-kernel-api.markdown
+19
-1
kernel_hierarchy.dot
modules/gapi/doc/dot/kernel_hierarchy.dot
+0
-17
kernel_hierarchy.png
modules/gapi/doc/pics/kernel_hierarchy.png
+0
-0
No files found.
modules/gapi/doc/20-kernel-api.markdown
View file @
ad568380
...
...
@@ -18,7 +18,25 @@ compilation).
Kernel-implementation hierarchy may look like:

@dot Kernel API/implementation hierarchy example
digraph {
rankdir=BT;
node
[
shape=record
]
;
ki_a
[
label="{<f0> interface\nA}"
]
;
ki_b
[
label="{<f0> interface\nB}"
]
;
{rank=same; ki_a ki_b};
"CPU::A" -> ki_a
[
dir="forward"
]
;
"OpenCL::A" -> ki_a
[
dir="forward"
]
;
"Halide::A" -> ki_a
[
dir="forward"
]
;
"CPU::B" -> ki_b
[
dir="forward"
]
;
"OpenCL::B" -> ki_b
[
dir="forward"
]
;
"Halide::B" -> ki_b
[
dir="forward"
]
;
}
@enddot
A pipeline itself then can be expressed only in terms of
`A`
,
`B`
, and
so on, and choosing which implementation to use in execution becomes
...
...
modules/gapi/doc/dot/kernel_hierarchy.dot
deleted
100644 → 0
View file @
202ba124
digraph
{
rankdir
=
BT
;
node
[
shape
=
record
]
;
ki_a
[
label
=
"{<f0> interface\nA}"
]
;
ki_b
[
label
=
"{<f0> interface\nB}"
]
;
{
rank
=
same
;
ki_a
ki_b
};
"CPU::A"
->
ki_a
[
dir
=
"forward"
]
;
"OpenCL::A"
->
ki_a
[
dir
=
"forward"
]
;
"Halide::A"
->
ki_a
[
dir
=
"forward"
]
;
"CPU::B"
->
ki_b
[
dir
=
"forward"
]
;
"OpenCL::B"
->
ki_b
[
dir
=
"forward"
]
;
"Halide::B"
->
ki_b
[
dir
=
"forward"
]
;
}
modules/gapi/doc/pics/kernel_hierarchy.png
deleted
100644 → 0
View file @
202ba124
8.61 KB
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