SWDEV-421667 - Print shared library name which doesn't contain CO for current device

- ML Frameworks link many ROCm component libraries
- It becomes a tedious task to figure out which library HIP is complaining about
- To improve debuggability print out the shared library name

Change-Id: I53c4d66393670356b8cafd3e48075e430f0a45ce


[ROCm/clr commit: 52001adf43]
Этот коммит содержится в:
Rakesh Roy
2023-10-05 19:37:28 +05:30
коммит произвёл Rakesh Roy
родитель f25e5e01f3
Коммит e2e169f47c
+2 -1
Просмотреть файл
@@ -253,7 +253,8 @@ hipError_t FatBinaryInfo::ExtractFatBinaryUsingCOMGR(const std::vector<hip::Devi
auto dev_it = unique_isa_names.find(device_name);
// If the size is 0, then COMGR API could not find the CO for this GPU device/ISA
if (dev_it->second.first == 0) {
LogPrintfError("Cannot find CO in the bundle for ISA: %s \n", device_name.c_str());
LogPrintfError("Cannot find CO in the bundle %s for ISA: %s \n",
fname_.c_str(), device_name.c_str());
hip_status = hipErrorNoBinaryForGpu;
ListAllDeviceWithNoCOFromBundle(unique_isa_names);
break;