synchronize

dragon.vm.torch.cuda.synchronize(device=None)[source]

Synchronize all streams on a device.

If device is None, the current device will be selected.

Parameters: