Skip to content

Commit 1b27124

Browse files
committed
Fix compilation
1 parent 6eebda8 commit 1b27124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/intel_npu/src/compiler_adapter/include/compiler_adapter_factory.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class CompilerAdapterFactory final {
2020
switch (compilerType) {
2121
case ov::intel_npu::CompilerType::DRIVER:
2222
case ov::intel_npu::CompilerType::MLIR: {
23-
if (engineBackend->getName() != "LEVEL0") {
23+
if (engineBackend == nullptr || engineBackend->getName() != "LEVEL0") {
2424
return std::make_unique<PluginCompilerAdapter>(nullptr);
2525
}
2626

0 commit comments

Comments
 (0)