Revert "fix: check largeGrfMode in tests if supported"

This reverts commit 9a6bb4be10.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-03-29 18:32:40 +02:00
committed by Compute-Runtime-Automation
parent 03ed1e1e12
commit 52f21464cd
2 changed files with 2 additions and 10 deletions

View File

@@ -138,11 +138,7 @@ HWTEST2_F(StreamPropertiesTests, whenSettingStateComputeModePropertiesThenCorrec
for (auto largeGrf : ::testing::Bool()) {
for (auto threadArbitrationPolicy : threadArbitrationPolicyValues) {
properties.stateComputeMode.setPropertiesAll(requiresCoherency, largeGrf ? 256 : 128, threadArbitrationPolicy, preemptionMode);
if constexpr (TestTraits<gfxCoreFamily>::largeGrfModeInStateComputeModeSupported) {
EXPECT_EQ(largeGrf, properties.stateComputeMode.largeGrfMode.value);
} else {
EXPECT_EQ(-1, properties.stateComputeMode.largeGrfMode.value);
}
EXPECT_EQ(largeGrf, properties.stateComputeMode.largeGrfMode.value);
if (scmPropertiesSupport.coherencyRequired) {
EXPECT_EQ(requiresCoherency, properties.stateComputeMode.isCoherencyRequired.value);
} else {