Hi,
is it somehow possibel to terminate/cancel an active stream from the host side?
Thanks
Hi,
is it somehow possibel to terminate/cancel an active stream from the host side?
Thanks
no, its not possible
You can try cudaDeviceReset()
but that wipes out everything on the device, so probably not what you are asking about.
Hi Robert,
Thanks a lot for your fast reply. Would a call to ‘cuStreamDestroy’ terminate the execution of the stream on the GPU? Or is there a way to send a kind of notification to the host from a thread during execution of the kernel?
Thanks,
Daniel
No, it will not terminate the execution of a stream. What it will do is prevent that stream from being used for any future work submission.
Yes, you can send a notification to the host during execution of a kernel.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.