Skip to content

Explicit graph building function for adding sub-graph #23

@EwanC

Description

@EwanC

The record & replay graph building API lets a user add a sub-graph as a node to the graph by recording a queue queue::submit(command_graph<executable>) operation. However, there is no equivalent mechanism in the explicit graph
building API for adding a sub-graph.

CUDA defines cudaGraphAddChildGraphNode in it's explicit API which does similar.

We should consider adding a function like command_graph<modifiable>::add(command_graph<executable/modifiable>, const std::vector<node> &dep = {}) to achieve this functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions