Fix typos in ihipMemcpy3D()
Change-Id: I8720f113642f00bb013cf46284e9b13cc932bf4a
Ta zmiana jest zawarta w:
%! (template.HTML=
Vladislav Sytchenko)złożyło 2020-03-05 14:11:55 -05:00
1 rodzic
65ffaf82d8
złożenie
f28e2ebb42
Plik 1 zmieniony
+2
-2
@@ -1570,7 +1570,7 @@ hipError_t ihipMemcpy3D(const hipMemcpy3DParms* p,
|
||||
pCopy.srcMemoryType = hipMemoryTypeArray;
|
||||
pCopy.srcArray = p->srcArray;
|
||||
// When reffering to array memory, hipPos::x is in elements.
|
||||
pCopy.srcXInBytes *= hip::getElementSize(p->dstArray->Format);
|
||||
pCopy.srcXInBytes *= hip::getElementSize(p->srcArray->Format);
|
||||
}
|
||||
|
||||
if (p->srcPtr.ptr != nullptr) {
|
||||
@@ -1585,7 +1585,7 @@ hipError_t ihipMemcpy3D(const hipMemcpy3DParms* p,
|
||||
pCopy.dstMemoryType = hipMemoryTypeArray;
|
||||
pCopy.dstArray = p->dstArray;
|
||||
// When reffering to array memory, hipPos::x is in elements.
|
||||
pCopy.srcXInBytes *= hip::getElementSize(p->dstArray->Format);
|
||||
pCopy.dstXInBytes *= hip::getElementSize(p->dstArray->Format);
|
||||
}
|
||||
|
||||
if (p->dstPtr.ptr != nullptr) {
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika