Report owning agent with pointer info block information.

Physical owning agent may not be visible to the current process
due to RVD.

Change-Id: Ib463336a5ed73a479f3aa74eb140932b9e0435fb


[ROCm/ROCR-Runtime commit: 247606c455]
This commit is contained in:
Sean Keely
2022-04-29 15:38:56 -05:00
parent 289a86785b
commit b757b209ad
2 changed files with 14 additions and 4 deletions
@@ -281,6 +281,7 @@ class Runtime {
struct PtrInfoBlockData {
void* base;
size_t length;
core::Agent* agentOwner;
};
hsa_status_t PtrInfo(const void* ptr, hsa_amd_pointer_info_t* info, void* (*alloc)(size_t),