taskflow/taskflow

Allow adding a cudaGraph as a child graph

オープン

#711 opened on 2025/07/30

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (1,101 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (9,162 個のスター)
PR merge metrics
 (平均マージ 35d 4h) (30d で 1 merged PR)

説明

Since the update to 3.10 the capturing functions has been removed. We are now to use (if I understand correctly) either native cuda calls or the cudaStream::begin_capture()+cudaStream::end_capture(). However, these calls returns a new cudaGraph and their is no clear way that I can find in 3.10 to "merge" or incorporate a newly created graph with an existing graph.

So I would like to have a function that looks like:

tf::cudaTask cudaGraph::add_child_graph(cudaGraph);

コントリビューターガイド