Revert "SWDEV-492049 - Remove the handle of Phy Mem from Memobj" (#72)

This reverts commit dabe311bd8.

[ROCm/clr commit: 2259a8c01c]
このコミットが含まれているのは:
Godavarthy Surya, Anusha authored and GitHub committed 2025-03-19 21:16:51 +05:30
1 親 5c7c86f66d
コミット 35a15ca3b2
2ファイル変更
-6

検索条件に一致するファイルはありません

-2
ファイルの表示
@@ -226,8 +226,6 @@ void* MemoryPool::AllocateMemory(size_t size, Stream* stream, void* dptr) {
}
} else {
dev_ptr = memory->getSvmPtr();
if (!amd::MemObjMap::FindMemObj(dev_ptr))
amd::MemObjMap::AddMemObj(dev_ptr, memory);
}
// Place the allocated memory into the busy heap
ts.AddSafeStream(stream);