cuda.bindings._v2.driver.stream_end_capture#
- cuda.bindings._v2.driver.stream_end_capture(intptr_t h_stream) intptr_t#
Ends capture on a stream, returning the captured graph.
End capture on
h_stream, returning the captured graph viaph_graph. Capture must have been initiated onh_streamvia a call tocuStreamBeginCapture. If capture was invalidated, due to a violation of the rules of stream capture, then a NULL graph will be returned. If themodeargument tocuStreamBeginCapturewas notCU_STREAM_CAPTURE_MODE_RELAXED, this call must be from the same thread ascuStreamBeginCapture.- Parameters:
h_stream (intptr_t) – Stream to query.
- Returns:
The captured graph.
- Return type:
intptr_t
See also
cuStreamEndCapture