Enable tests that are passing on hip-vdi

Change-Id: I7de965f7e8bb7e4d0fa61cd584f0cd118c1e212e


[ROCm/hip commit: 65ffaf82d8]
This commit is contained in:
agodavar committed 2020-03-05 16:08:51 +05:30
1 parent c503c44b67
commit de0b92948e
12 files changed
+15 -13

No files matched your search

+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);
}