SWDEV-441603 - Correct dst device
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie60aa598dd73df66cdf02c1d96daf2dfccba7a59
[ROCm/clr commit: d511e57257]
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Shadi Dashmiz
ebeveyn
5a7b0c50ad
işleme
d2b2b2c5fa
@@ -2263,7 +2263,7 @@ void ihipCopyMemParamSet(const HIP_MEMCPY3D* pCopy, hipMemoryType& srcMemType,
|
||||
hipMemoryTypeHost;
|
||||
|
||||
if (dstMemoryType == hipMemoryTypeDevice) {
|
||||
const_cast<HIP_MEMCPY3D*>(pCopy)->dstDevice = const_cast<void*>(pCopy->dstDevice);
|
||||
const_cast<HIP_MEMCPY3D*>(pCopy)->dstDevice = const_cast<void*>(pCopy->dstHost);
|
||||
}
|
||||
}
|
||||
srcMemType = srcMemoryType;
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle