Enable tests that are passing on hip-vdi

Change-Id: I7de965f7e8bb7e4d0fa61cd584f0cd118c1e212e
This commit is contained in:
agodavar
2020-03-03 13:33:52 +05:30
parent a083dc8547
commit f360ff6479
12 changed files with 15 additions and 13 deletions
+2
View File
@@ -1568,6 +1568,7 @@ hipError_t ihipMemcpy3D(const hipMemcpy3DParms* p,
if (p->srcArray != nullptr) {
pCopy.srcMemoryType = hipMemoryTypeArray;
pCopy.srcArray = p->srcArray;
// When reffering to array memory, hipPos::x is in elements.
pCopy.srcXInBytes *= hip::getElementSize(p->dstArray->Format);
}
@@ -1582,6 +1583,7 @@ hipError_t ihipMemcpy3D(const hipMemcpy3DParms* p,
if (p->dstArray != nullptr) {
pCopy.dstMemoryType = hipMemoryTypeArray;
pCopy.dstArray = p->dstArray;
// When reffering to array memory, hipPos::x is in elements.
pCopy.srcXInBytes *= hip::getElementSize(p->dstArray->Format);
}