mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
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:
committed by
Compute-Runtime-Automation
parent
72182c28e9
commit
712ba60452
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user