TensorPlay
API symbolscuda
Copy
View MarkdownDownload .md

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(), if device is None (default).

Ask DeepWiki