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
这个提交包含在:
foreman
2019-01-04 19:44:36 -05:00
父节点 2b92421194
当前提交 915c3da749
+1 -1
查看文件
@@ -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);