P4 to Git Change 1726489 by kjayapra@3_HIPWS_hmc2Dfix on 2019/01/04 19:36:57
SWDEV-145570 - Changing the SRC and DST pointer in hsa_amd_memory_async_copy_rect.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#28 edit
[ROCm/clr commit: 915c3da749]
This commit is contained in:
@@ -403,7 +403,7 @@ bool DmaBlitManager::copyBufferRect(device::Memory& srcMemory, device::Memory& d
|
||||
|
||||
// Copy memory line by line
|
||||
hsa_status_t status =
|
||||
hsa_amd_memory_async_copy_rect(&srcMem, &offset, &dstMem, &offset, &dim, agent,
|
||||
hsa_amd_memory_async_copy_rect(&dstMem, &offset, &srcMem, &offset, &dim, agent,
|
||||
direction, 0, nullptr, completion_signal_);
|
||||
if (status != HSA_STATUS_SUCCESS) {
|
||||
LogPrintfError("DMA buffer failed with code %d", status);
|
||||
|
||||
Reference in New Issue
Block a user