Skip to content

Commit c401011

Browse files
feature: reenable RelaxedOrdering
Source: ecb415b Related-To: NEO-7458 Signed-off-by: Dunajski, Bartosz <[email protected]>
1 parent a22ca8c commit c401011

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

shared/source/xe_hpc_core/gfx_core_helper_xe_hpc_core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ uint32_t GfxCoreHelperHw<Family>::getAmountOfAllocationsToFill() const {
425425

426426
template <>
427427
bool GfxCoreHelperHw<Family>::isRelaxedOrderingSupported() const {
428-
return false;
428+
return true;
429429
}
430430

431431
} // namespace NEO

shared/test/unit_test/xe_hpc_core/gfx_core_helper_xe_hpc_core_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ XE_HPC_CORETEST_F(GfxCoreHelperTest, givenGfxCoreHelperWhenCallGetAmountOfAlloca
9393

9494
HWTEST_EXCLUDE_PRODUCT(GfxCoreHelperTest, givenGfxCoreHelperWhenAskingForRelaxedOrderingSupportThenReturnFalse, IGFX_XE_HPC_CORE);
9595

96-
XE_HPC_CORETEST_F(GfxCoreHelperXeHpcCoreTest, givenGfxCoreHelperWhenAskingForRelaxedOrderingSupportThenReturnFalse) {
96+
XE_HPC_CORETEST_F(GfxCoreHelperXeHpcCoreTest, givenGfxCoreHelperWhenAskingForRelaxedOrderingSupportThenReturnTrue) {
9797
MockExecutionEnvironment mockExecutionEnvironment{};
9898
auto &gfxCoreHelper = mockExecutionEnvironment.rootDeviceEnvironments[0]->getHelper<GfxCoreHelper>();
9999

100-
EXPECT_FALSE(gfxCoreHelper.isRelaxedOrderingSupported());
100+
EXPECT_TRUE(gfxCoreHelper.isRelaxedOrderingSupported());
101101
}

0 commit comments

Comments
 (0)