cuda.bindings._v2.driver.stream_end_capture_to_cig#

cuda.bindings._v2.driver.stream_end_capture_to_cig(intptr_t h_stream)#

Ends CIG capture on a stream.

End CIG capture on h_stream. Capture must have been initiated on h_stream via a call to cuStreamBeginCaptureToCig. Once this function is called, h_stream will exit CIG capture mode and return to its original state, thus removing all CIG stream restrictions. Also, the command list/command buffer that was associated with h_stream in the previous call to cuStreamBeginCaptureToCig is now allowed to be submitted for execution on the graphics API. However, the stream may not be destroyed until execution of the command list is fully done on the GPU. This requirements extends also to all streams dependant on the CIG stream (e.g. via event waits).

Parameters:

h_stream (intptr_t) – Stream to end CIG capture.

See also

cuStreamEndCaptureToCig