<p>A linear capturing algorithm is a special case of <ahref="classtf_1_1cudaFlowSequentialOptimizer.html" class="m-doc">tf::<wbr/>cudaFlowSequentialOptimizer</a> and assumes the input task graph to be a single linear chain of tasks (i.e., a straight line). This assumption allows faster optimization during the capturing process. If the input task graph is not a linear chain, the behavior is undefined.</p>