From db752c6295a2c492f50930052043ac68d94f3124 Mon Sep 17 00:00:00 2001 From: Satyanvesh Dittakavi Date: Thu, 1 Dec 2022 07:02:10 +0000 Subject: [PATCH] SWDEV-370841 - Correct the devicelibs library bitcode used by hiprtc Change-Id: I1f2ab9ca4ab2947f42e101c37bb3e6a046e32d5b [ROCm/clr commit: 450d0941cadca386224812950a17b6165cb1ac65] --- projects/clr/hipamd/src/hiprtc/hiprtcComgrHelper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/clr/hipamd/src/hiprtc/hiprtcComgrHelper.cpp b/projects/clr/hipamd/src/hiprtc/hiprtcComgrHelper.cpp index c136cd764d..02da4b93c7 100644 --- a/projects/clr/hipamd/src/hiprtc/hiprtcComgrHelper.cpp +++ b/projects/clr/hipamd/src/hiprtc/hiprtcComgrHelper.cpp @@ -547,7 +547,8 @@ bool compileToBitCode(const amd_comgr_data_set_t compileInputs, const std::strin } if (auto res = - amd::Comgr::do_action(AMD_COMGR_ACTION_COMPILE_SOURCE_TO_BC, action, input, output); + amd::Comgr::do_action(AMD_COMGR_ACTION_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC, + action, input, output); res != AMD_COMGR_STATUS_SUCCESS) { extractBuildLog(output, buildLog); amd::Comgr::destroy_action_info(action);