CUDA.jl - When to synchronize

Copying to CPU memory automatically synchronizes.

Kernel execution is ordered on the task-local stream, so there’s no need to synchronize in between.

1 Like