fix: set default device hierarchy to composite for all platforms except xe hpc

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-10-11 23:09:15 +00:00
committed by Compute-Runtime-Automation
parent c5c2e6808e
commit 3fdcf049bf
2 changed files with 2 additions and 2 deletions

View File

@@ -712,7 +712,7 @@ uint32_t GfxCoreHelperHw<GfxFamily>::calculateNumThreadsPerThreadGroup(uint32_t
template <typename GfxFamily>
char const *GfxCoreHelperHw<GfxFamily>::getDefaultDeviceHierarchy() const {
return deviceHierarchyFlat;
return deviceHierarchyComposite;
}
} // namespace NEO

View File

@@ -1559,5 +1559,5 @@ HWTEST_F(GfxCoreHelperTest, givenFlagRemoveRestrictionsOnNumberOfThreadsInGpgpuT
HWTEST2_F(GfxCoreHelperTest, whenGetDefaultDeviceHierarchyThenReturnFlatHierarchy, IsNotXeHpcCore) {
const auto &gfxCoreHelper = getHelper<GfxCoreHelper>();
auto defaultDeviceHierarchy = gfxCoreHelper.getDefaultDeviceHierarchy();
EXPECT_STREQ("FLAT", defaultDeviceHierarchy);
EXPECT_STREQ("COMPOSITE", defaultDeviceHierarchy);
}