Stop CUDA stream execution

Hi,

I wonder if it is possible to stop/remove any non-executed (or even being executed?) operations from a CUDA stream that were previously submitted to the stream? Something like flushing the CUDA stream so that the operations don’t execute on GPU.

Just to say, I don’t want to necessarily destroy the cuda stream as there is a GPU (driver) performance penalty for that, isn’t it? and i would have to recreate a CUDA stream again.

Thanks,
Peter

Hi,

I wonder if it is possible to stop/remove any non-executed (or even being executed?) operations from a CUDA stream that were previously submitted to the stream? Something like flushing the CUDA stream so that the operations don’t execute on GPU.

Just to say, I don’t want to necessarily destroy the cuda stream as there is a GPU (driver) performance penalty for that, isn’t it? and i would have to recreate a CUDA stream again.

Thanks,
Peter