SWDEV-269246 - Implementation of hipDrvMemcpy2DUnaligned
Change-Id: I86fdd3b930cbd74c45cd31944f0ea52c0ff65a59
[ROCm/hip commit: 24837c1afc]
This commit is contained in:
@@ -2392,3 +2392,12 @@ hipError_t hipFreeHost(void *ptr) {
|
||||
|
||||
HIP_RETURN(ihipFree(ptr));
|
||||
}
|
||||
|
||||
hipError_t hipDrvMemcpy2DUnaligned(const hip_Memcpy2D* pCopy) {
|
||||
HIP_INIT_API(hipDrvMemcpy2DUnaligned, pCopy);
|
||||
|
||||
HIP_MEMCPY3D desc = hip::getDrvMemcpy3DDesc(*pCopy);
|
||||
|
||||
HIP_RETURN(ihipMemcpyParam3D(&desc, nullptr));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user