SWDEV-269085 - Fix compilation error with clang

Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71
This commit is contained in:
Anusha GodavarthySurya
2021-03-22 03:02:50 -07:00
parent c8b9257c0b
commit 7535ce6498
+1 -1
View File
@@ -457,7 +457,7 @@ hipError_t CodeObject::extractCodeObjectFromFatBinary(const void* data,
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!");
LogPrintfError("%s", " Devices:");
for (size_t i = 0; i < agent_triple_target_ids.size(); i++) {
LogPrintfError(" %s - [%s]", agent_triple_target_ids[i],
LogPrintfError(" %s - [%s]", agent_triple_target_ids[i].c_str(),
((code_objs[i].first) ? "Found" : "Not Found"));
}
const auto obheader = reinterpret_cast<const __ClangOffloadBundleHeader*>(data);