Waits for all kernels in all streams on a CUDA device to complete.
Source:R/cuda.R
cuda_synchronize.RdWaits for all kernels in all streams on a CUDA device to complete.
Arguments
- device
device for which to synchronize. It uses the current device given by
cuda_current_device()if no device is specified.