mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-13 01:42:56 +08:00
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:
committed by
Compute-Runtime-Automation
parent
c5c2e6808e
commit
3fdcf049bf
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user