cupy.cuda.runtime.deviceSynchronize

cupy.cuda.runtime.deviceSynchronize()