From 3d9004a7c7d7b705f8c0d5455cc0cb03d9d4f1d1 Mon Sep 17 00:00:00 2001 From: Anusha GodavarthySurya Date: Mon, 22 Mar 2021 03:02:50 -0700 Subject: [PATCH] SWDEV-269085 - Fix compilation error with clang Change-Id: Iab5902c9a2702456fbe433fdefc40541c48acb71 [ROCm/hip commit: 7535ce64989792567add473252c9fee9ef191026] --- projects/hip/rocclr/hip_code_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/rocclr/hip_code_object.cpp b/projects/hip/rocclr/hip_code_object.cpp index b6d10a270f..249ea6fe10 100755 --- a/projects/hip/rocclr/hip_code_object.cpp +++ b/projects/hip/rocclr/hip_code_object.cpp @@ -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(data);