SWDEV-269085 - Fix compilation error with clang

Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71


[ROCm/clr commit: 23f8c84326]
This commit is contained in:
Anusha GodavarthySurya
2021-03-22 03:02:50 -07:00
parent 0a5d415c1d
commit 8a295bf7a6
@@ -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);