You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ParallelPipeline.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ <h3>Contents</h3>
67
67
<li><ahref="#ParallelPipelineLearnMore">Learn More about Taskflow Pipeline</a></li>
68
68
</ul>
69
69
</div>
70
-
<p>Taskflow provides a <em>task-parallel</em> pipeline programming framework for you to create a <em>pipeline scheduling framework</em> to implement pipeline algorithms. Pipeline parallelism refers to a parallel execution of multiple data tokens through a linear chain of pipes or stages. Each stage processes the data token sent from the previous stage, applies the given callable to that data token, and then sends the result to the next stage. Multiple data tokens can be processed simultaneously across different stages.</p><sectionid="ParallelPipelineIncludeHeaderFile"><h2><ahref="#ParallelPipelineIncludeHeaderFile">Include the Header</a></h2><p>You need to include the header file, <code>taskflow/algorithm/pipeline.hpp</code>, for creating a pipeline scheduling framework.</p><preclass="m-code"><spanclass="cp">#include</span><spanclass="cpf"><taskflow/algorithm/pipeline.hpp></span><spanclass="cp"></span></pre></section><sectionid="UnderstandPipelineScheduling"><h2><ahref="#UnderstandPipelineScheduling">Understand the Pipeline Scheduling Framework</a></h2><p>A <ahref="classtf_1_1Pipeline.html" class="m-doc">tf::<wbr/>Pipeline</a> object is a <em>composable</em> graph to create a <em>pipeline scheduling framework</em> through a module task in a taskflow (see <ahref="ComposableTasking.html" class="m-doc">Composable Tasking</a>). Unlike the conventional pipeline programming frameworks (e.g., Intel TBB Parallel <ahref="classtf_1_1Pipeline.html" class="m-doc">Pipeline</a>), Taskflow's pipeline algorithm does not provide any data abstraction, which often restricts users from optimizing data layouts in their applications, but a flexible framework for users to customize their application data atop an efficient pipeline scheduling framework.</p><divclass="m-graph"><svgstyle="width: 22.250rem; height: 22.688rem;" viewBox="0.00 0.00 356.00 363.08">
70
+
<p>Taskflow provides a <em>task-parallel</em> pipeline programming framework for you to create a <em>pipeline scheduling framework</em>. Pipeline parallelism refers to a parallel execution of multiple data tokens through a linear chain of pipes or stages. Each stage processes the data token sent from the previous stage, applies the given callable to that data token, and then sends the result to the next stage. Multiple data tokens can be processed simultaneously across different stages.</p><sectionid="ParallelPipelineIncludeHeaderFile"><h2><ahref="#ParallelPipelineIncludeHeaderFile">Include the Header</a></h2><p>You need to include the header file, <code>taskflow/algorithm/pipeline.hpp</code>, for creating a pipeline scheduling framework.</p><preclass="m-code"><spanclass="cp">#include</span><spanclass="cpf"><taskflow/algorithm/pipeline.hpp></span><spanclass="cp"></span></pre></section><sectionid="UnderstandPipelineScheduling"><h2><ahref="#UnderstandPipelineScheduling">Understand the Pipeline Scheduling Framework</a></h2><p>A <ahref="classtf_1_1Pipeline.html" class="m-doc">tf::<wbr/>Pipeline</a> object is a <em>composable</em> graph to create a <em>pipeline scheduling framework</em> through a module task in a taskflow (see <ahref="ComposableTasking.html" class="m-doc">Composable Tasking</a>). Unlike the conventional pipeline programming frameworks (e.g., Intel TBB Parallel <ahref="classtf_1_1Pipeline.html" class="m-doc">Pipeline</a>), Taskflow's pipeline algorithm does not provide any data abstraction, which often restricts users from optimizing data layouts in their applications, but a flexible framework for users to customize their application data atop an efficient pipeline scheduling framework.</p><divclass="m-graph"><svgstyle="width: 22.250rem; height: 22.688rem;" viewBox="0.00 0.00 356.00 363.08">
0 commit comments