cupy.cuda.get_current_stream#

cupy.cuda.get_current_stream()#

Gets current CUDA stream.

Returns:

The current CUDA stream.

Return type:

cupy.cuda.Stream