tensorplay.cuda.synchronize
- tensorplay.cuda.synchronize(device: Any = None) None[source]
Wait for all kernels in all streams on a CUDA device to complete.
- Parameters:
device (tensorplay.Device or int, optional) – device for which to synchronize. It uses the current device, given by
current_device(), ifdeviceisNone(default).

