SWDEV-336448 - Load comgr versioned dll in hiprtc

Change-Id: I9c966ac6e3beae707d732e4bf84f88457d6265de


[ROCm/clr commit: 651f333140]
This commit is contained in:
Satyanvesh Dittakavi
2022-08-09 15:57:14 +00:00
committed by Maneesh Gupta
parent fae60db2ff
commit feb23ab256
@@ -33,7 +33,8 @@ using namespace helpers;
//RTC Program Member Functions
RTCProgram::RTCProgram(std::string name) : name_(name) {
std::call_once(amd::Comgr::initialized, amd::Comgr::LoadLib);
constexpr bool kComgrVersioned = true;
std::call_once(amd::Comgr::initialized, amd::Comgr::LoadLib, kComgrVersioned);
if (amd::Comgr::create_data_set(&exec_input_) != AMD_COMGR_STATUS_SUCCESS) {
crashWithMessage("Failed to allocate internal hiprtc structure");
}