warp.synchronize#

warp.synchronize()[source]#

Manually synchronize the calling CPU thread with any outstanding CUDA work on all devices

This method allows the host application code to ensure that any kernel launches or memory copies have completed.