Fix some -Wunused-but-set-variable warnings

Change-Id: I281583b5abdfc09d5dd8b7dfb20b8821581db193
This commit is contained in:
Vlad Sytchenko committed 2020-06-15 17:51:01 -04:00
1 förälder e50a9eec9d
incheckning 5b9af8f28d
4 files changed
+9 -9

No files matched your search

-1
Visa fil
@@ -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);