Revert "SWDEV-492049 - Remove the handle of Phy Mem from Memobj" (#72)
This reverts commitdabe311bd8. [ROCm/clr commit:2259a8c01c]
このコミットが含まれているのは:
1 親
5c7c86f66d
コミット
35a15ca3b2
2ファイル変更
-6
検索条件に一致するファイルはありません
@@ -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);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする