@@ -33,7 +33,7 @@ def _lazy_init():
3333
3434
3535@dataclass
36- class DebugPrintOptions :
36+ class GraphDebugPrintOptions :
3737 """Customizable options for :obj:`_graph.GraphBuilder.debug_dot_print()`
3838
3939 Attributes
@@ -92,7 +92,7 @@ class DebugPrintOptions:
9292
9393
9494@dataclass
95- class CompleteOptions :
95+ class GraphCompleteOptions :
9696 """Customizable options for :obj:`_graph.GraphBuilder.complete()`
9797
9898 Attributes
@@ -262,12 +262,12 @@ def end_building(self) -> GraphBuilder:
262262 self ._building_ended = True
263263 return self
264264
265- def complete (self , options : Optional [CompleteOptions ] = None ) -> Graph :
265+ def complete (self , options : Optional [GraphCompleteOptions ] = None ) -> Graph :
266266 """Completes the graph builder and returns the built :obj:`~_graph.Graph` object.
267267
268268 Parameters
269269 ----------
270- options : :obj:`~_graph.CompleteOptions `, optional
270+ options : :obj:`~_graph.GraphCompleteOptions `, optional
271271 Customizable dataclass for the graph builder completion options.
272272
273273 Returns
@@ -324,14 +324,14 @@ def complete(self, options: Optional[CompleteOptions] = None) -> Graph:
324324 raise RuntimeError (f"Graph instantiation failed with unexpected error code: { params .result_out } " )
325325 return graph
326326
327- def debug_dot_print (self , path , options : Optional [DebugPrintOptions ] = None ):
327+ def debug_dot_print (self , path , options : Optional [GraphDebugPrintOptions ] = None ):
328328 """Generates a DOT debug file for the graph builder.
329329
330330 Parameters
331331 ----------
332332 path : str
333333 File path to use for writting debug DOT output
334- options : :obj:`~_graph.DebugPrintOptions `, optional
334+ options : :obj:`~_graph.GraphDebugPrintOptions `, optional
335335 Customizable dataclass for the debug print options.
336336
337337 """
@@ -768,12 +768,6 @@ def launch_graph(parent_graph: GraphBuilder, child_graph: GraphBuilder):
768768 if not parent_graph .is_building :
769769 raise ValueError ("Parent graph is being built." )
770770
771- status , _ , graph_out , dependencies_out , num_dependencies_out = handle_return (
772- driver .cuStreamGetCaptureInfo (parent_graph .stream .handle )
773- )
774- if status != driver .CUstreamCaptureStatus .CU_STREAM_CAPTURE_STATUS_ACTIVE :
775- raise ValueError ("Parent graph is not in an active capture state" )
776-
777771 child_node = handle_return (
778772 driver .cuGraphAddChildGraphNode (graph_out , dependencies_out , num_dependencies_out , child_graph ._mnff .graph )
779773 )
0 commit comments