fix: add unrecoverable to avoid nullptr access

Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-10-05 09:27:10 +00:00
committed by Compute-Runtime-Automation
parent 72182c28e9
commit 712ba60452

View File

@@ -52,6 +52,7 @@ void appendAdditionalExtensions(std::string &extensions, const std::string &comp
void appendExtensionsToInternalOptions(const HardwareInfo &hwInfo, const std::string &options, std::string &internalOptions) {
auto compilerProductHelper = CompilerProductHelper::create(hwInfo.platform.eProductFamily);
UNRECOVERABLE_IF(!compilerProductHelper);
auto releaseHelper = ReleaseHelper::create(hwInfo.ipVersion);
std::string extensionsList = compilerProductHelper->getDeviceExtensions(hwInfo, releaseHelper.get());