Change-Id: I043caa89b2a43dace7f18c739f30d2a7bfa644ca Fixes the issue when memcpy DtoH is performed on device 0 where the device buffer is allocated on device1 and the destination pinned buffer is allocated from device 0.