SWDEV-336448 - Load comgr versioned dll in hiprtc
Change-Id: I9c966ac6e3beae707d732e4bf84f88457d6265de
此提交包含在:
1 父節點
008aa1c2e1
當前提交
651f333140
1 file changed
+2
-1
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
封鎖使用者