SWDEV-508225 - Improve fat binary handling

Change-Id: I78a9951f2f4c4c743c1205b1e40aac215054e27d
This commit is contained in:
Saleel Kudchadker
2025-01-08 17:53:02 +00:00
parent ea0b092af8
commit 08af3eb484
4 changed files with 104 additions and 47 deletions
+1
View File
@@ -569,6 +569,7 @@ hipError_t FatBinaryInfo::ExtractFatBinaryUsingCOMGR(const std::vector<hip::Devi
}
hipError_t FatBinaryInfo::ExtractFatBinary(const std::vector<hip::Device*>& devices) {
amd::ScopedLock lock(FatBinaryLock());
if (!HIP_USE_RUNTIME_UNBUNDLER) {
bool containGenericTarget = false;
hipError_t status = ExtractFatBinaryUsingCOMGR(devices, containGenericTarget);