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 编写, Rakesh Roy 于 2023-10-11 10:43:03 -04:00 提交
1 父节点 f25e5e01f3
当前提交 e2e169f47c
1 个文件已更改
+2 -1
+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;