SWDEV-374395 - Correct rhs.
Change-Id: I433d60344a6d23bc48f4db58d5501af89bc1989c
Этот коммит содержится в:
1 родитель
627e689ad7
Коммит
027f71ccfb
1 file changed
+1
-1
@@ -2012,7 +2012,7 @@ hipError_t ihipGetMemcpyParam3DCommand(amd::Command*& command, const HIP_MEMCPY3
|
||||
amd::Memory* mem = amd::MemObjMap::FindMemObj(pCopy->dstHost);
|
||||
dstMemoryType = mem ? hipMemoryTypeDevice : 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user