Fix some -Wunused-but-set-variable warnings
Change-Id: I281583b5abdfc09d5dd8b7dfb20b8821581db193
此提交包含在:
1 父節點
e50a9eec9d
當前提交
5b9af8f28d
4 file changed
+9
-9
No files matched your search
@@ -1840,7 +1840,6 @@ amd::Memory *Device::IpcAttach(const void* handle, size_t mem_size, unsigned int
|
||||
|
||||
/* FIX_ME (SWDEV-215976): Mapping for all devices is not optimal. In future map only for devices on need basis */
|
||||
/* Retrieve the devPtr from the handle */
|
||||
hsa_agent_t hsa_agent = getBackendDevice();
|
||||
hsa_status
|
||||
= hsa_amd_ipc_memory_attach(reinterpret_cast<const hsa_amd_ipc_memory_t*>(handle),
|
||||
mem_size, (1 + p2p_agents_.size()), p2p_agents_list_, dev_ptr);
|
||||
|
||||
Reference in new issue
封鎖使用者