SWDEV-336448 - Support loading comgr versioned dll
Change-Id: I03283fc2a200d778c5efa43e509624bba9ce0541
This commit is contained in:
zatwierdzone przez
Maneesh Gupta
rodzic
50e0ddb055
commit
64c1c4757f
@@ -531,7 +531,8 @@ bool Device::ValidateComgr() {
|
||||
#if defined(USE_COMGR_LIBRARY)
|
||||
// Check if Lightning compiler was requested
|
||||
if (settings_->useLightning_) {
|
||||
std::call_once(amd::Comgr::initialized, amd::Comgr::LoadLib);
|
||||
constexpr bool kComgrVersioned = false;
|
||||
std::call_once(amd::Comgr::initialized, amd::Comgr::LoadLib, kComgrVersioned);
|
||||
// Use Lightning only if it's available
|
||||
settings_->useLightning_ = amd::Comgr::IsReady();
|
||||
return settings_->useLightning_;
|
||||
|
||||
Reference in New Issue
Block a user