diff --git a/rocclr/device/device.cpp b/rocclr/device/device.cpp index dfc7d09928..aba0f6fd29 100644 --- a/rocclr/device/device.cpp +++ b/rocclr/device/device.cpp @@ -683,7 +683,7 @@ bool Device::ValidateComgr() { #if defined(USE_COMGR_LIBRARY) // Check if Lightning compiler was requested if (settings_->useLightning_) { - constexpr bool kComgrVersioned = false; + constexpr bool kComgrVersioned = true; std::call_once(amd::Comgr::initialized, amd::Comgr::LoadLib, kComgrVersioned); // Use Lightning only if it's available settings_->useLightning_ = amd::Comgr::IsReady();