tf::cudaFlowLinearOptimizer
tf::cudaFlowOptimizerBase
taskflow/cuda/cuda_optimizer.hpp
class friend class cudaFlowCapturer cudaFlowCapturer tf::cudaFlowLinearOptimizer::cudaFlowCapturer cudaFlowCapturer
tf::cudaFlowLinearOptimizer::cudaFlowLinearOptimizer
()=default
cudaFlowLinearOptimizer
tf::cudaFlowLinearOptimizer::cudaFlowLinearOptimizer

constructs a linear optimizer

cudaGraph_t cudaGraph_t tf::cudaFlowLinearOptimizer::_optimize (cudaFlowGraph &graph) _optimize tf::cudaFlowLinearOptimizer::_optimize cudaFlowGraph & graph

class to capture a linear CUDA graph using a sequential stream

A linear capturing algorithm is a special case of tf::cudaFlowSequentialOptimizer 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.

tf::cudaFlowLinearOptimizer
tf::cudaFlowOptimizerBase
tf::cudaFlowLinearOptimizer
tf::cudaFlowOptimizerBase
- tf::cudaFlowLinearOptimizer
  _levelize
- tf::cudaFlowLinearOptimizer
  _optimize
- tf::cudaFlowLinearOptimizer
  _toposort
- tf::cudaFlowLinearOptimizer
  cudaFlowCapturer
- tf::cudaFlowLinearOptimizer
  cudaFlowLinearOptimizer