SWDEV-232464 - Memory Map modules loaded via file from hipModuleLoad

Change-Id: I0e644a161c8000abe1b07fbec72de09f1c0a4b18


[ROCm/clr commit: 347e36e31b]
This commit is contained in:
kjayapra-amd committed 2020-05-04 12:40:16 -04:00
1 parent 14f81f64be
commit 6c270f2292
6 files changed
+98 -3

No files matched your search

+4
Vedi File
@@ -67,6 +67,10 @@ Program::~Program() {
}
}
if (std::get<1>(mmap_) > 0) {
amd::Os::MemoryUnmapFile(std::get<0>(mmap_), std::get<1>(mmap_));
}
delete symbolTable_;
//! @todo Make sure we have destroyed all CPU specific objects
}