SWDEV-269085 - Fix compilation error with clang

Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71


[ROCm/clr commit: 23f8c84326]
这个提交包含在:
Anusha GodavarthySurya 于 2021-03-22 03:02:50 -07:00 提交
1 父节点 0a5d415c1d
当前提交 8a295bf7a6
1 个文件已更改
+1 -1
@@ -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);