Adds device sync after kernel call