(CUDA) add cpu/gpu transfers for halo exchange