SWDEV-497841 - Add virtual memory heap

Add initial implementation of virtual memory heap with
dynamic virtual memory mapping support for memory pools.
DEBUG_HIP_MEM_POOL_VMHEAP controls the new method.

Change-Id: I8dc5be2e0f34ab472f1800f43bb6243639a5e500


[ROCm/clr commit: 296dce5570]
This commit is contained in:
German Andryeyev
2025-01-24 19:26:39 -05:00
rodzic 6f2a603277
commit f9d9b2c441
11 zmienionych plików z 670 dodań i 39 usunięć
+1 -1
Wyświetl plik
@@ -315,7 +315,7 @@ bool Device::existsActiveStreamForDevice() {
// ================================================================================================
Device::~Device() {
if (default_mem_pool_ != nullptr) {
if ((IS_LINUX || !DEBUG_HIP_MEM_POOL_VMHEAP) && (default_mem_pool_ != nullptr)) {
default_mem_pool_->release();
}