SWDEV-335626 - Use ROCr copy for IPC
Detect IPC buffer and use ROCr copy api instead of blit
Change-Id: Ie6bdd6fc45dbd7457611011d81570b53d5fd5276
[ROCm/clr commit: faaa41aab8]
This commit is contained in:
@@ -2184,7 +2184,7 @@ bool Device::IpcAttach(const void* handle, size_t mem_size, size_t mem_offset,
|
||||
amd_mem_obj->release();
|
||||
return false;
|
||||
}
|
||||
|
||||
amd_mem_obj->setIpcShared(true);
|
||||
// Add the original mem_ptr to the MemObjMap with newly created amd_mem_obj
|
||||
amd::MemObjMap::AddMemObj(orig_dev_ptr, amd_mem_obj);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user