Revert "fix: change failBuildProgramWithStatefulAccessPreference to false on ...

This reverts commit f0520de068.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-06-20 17:53:38 +02:00
committed by Compute-Runtime-Automation
parent 6544a1defa
commit c98c9302cc
2 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ uint32_t CompilerProductHelperHw<IGFX_PVC>::matchRevisionIdWithProductConfig(Har
template <>
bool CompilerProductHelperHw<IGFX_PVC>::failBuildProgramWithStatefulAccessPreference() const {
return false;
return true;
}
static EnableCompilerProductHelper<IGFX_PVC> enableCompilerProductHelperPVC;

View File

@@ -30,9 +30,9 @@ PVCTEST_F(CompilerProductHelperPvcTest, givenPvcConfigsWhenMatchConfigWithRevIdT
}
}
PVCTEST_F(CompilerProductHelperPvcTest, givenPvcWhenFailBuildProgramWithStatefulAccessPreferenceThenFalseIsReturned) {
PVCTEST_F(CompilerProductHelperPvcTest, givenPvcWhenFailBuildProgramWithStatefulAccessPreferenceThenTrueIsReturned) {
MockExecutionEnvironment executionEnvironment{};
auto &rootDeviceEnvironment = *executionEnvironment.rootDeviceEnvironments[0];
auto &compilerProductHelper = rootDeviceEnvironment.getHelper<CompilerProductHelper>();
EXPECT_FALSE(compilerProductHelper.failBuildProgramWithStatefulAccessPreference());
EXPECT_TRUE(compilerProductHelper.failBuildProgramWithStatefulAccessPreference());
}