taskflow/taskflow

Allow adding a cudaGraph as a child graph

Ouverte

#711 ouverte le 30 juil. 2025

 (4 commentaires) (0 réaction) (0 personne assignée)C++ (1 101 forks)batch import
help wanted

Métriques du dépôt

Stars
 (9 162 étoiles)
Métriques de merge PR
 (Merge moyen 35j 4h) (1 PR mergée en 30 j)

Description

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);

Guide contributeur