Adjust the origin of the copy if the user passes a pointer that wasn't allocated by the runtime. Change-Id: I0aeb20195ed730857a461a53f537626ec2573fd1 [ROCm/hip commit: 6ed73f50f7]
6ed73f50f7