API symbolscuda
Copy
tensorplay.cuda.synchronize
- tensorplay.cuda.synchronize(device: Any | None = 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).
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
