fix: add missing nullptr check before accessing ail helper

Fixes: #755
Fixes: #754
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-08-20 15:09:09 +00:00
committed by Compute-Runtime-Automation
parent d1c354d5bf
commit f617093a6a
4 changed files with 19 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2023 Intel Corporation
* Copyright (C) 2018-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -23,6 +23,7 @@ using namespace NEO;
struct ClBuildProgramTests : public ApiTests {
void SetUp() override {
debugManager.flags.FailBuildProgramWithStatefulAccess.set(0);
debugManager.flags.EnableAIL.set(false);
ApiTests::setUp();
}
void TearDown() override {