mirror of
https://github.com/opencv/opencv.git
synced 2025-07-25 22:57:53 +08:00
Merge pull request #16091 from dkurt:png_to_dot
This commit is contained in:
commit
b8ef2036b0
@ -18,7 +18,25 @@ compilation).
|
|||||||
|
|
||||||
Kernel-implementation hierarchy may look like:
|
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
|
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
|
so on, and choosing which implementation to use in execution becomes
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
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"];
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 8.6 KiB |
Loading…
Reference in New Issue
Block a user