[thrust] Synchronize.