mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
fix: fix issues detected with clang-tidy-16
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c9d6615231
commit
f29dc33b34
@@ -3187,6 +3187,8 @@ TEST_F(MultipleDevicesTest, givenTopologyForTwoSubdevicesWhenGettingPhysicalSlic
|
||||
mapping.sliceIndices[i] = i;
|
||||
}
|
||||
|
||||
ASSERT_NE(0u, hwInfo.gtSystemInfo.SliceCount);
|
||||
|
||||
mapping.subsliceIndices.resize(hwInfo.gtSystemInfo.SubSliceCount / hwInfo.gtSystemInfo.SliceCount);
|
||||
for (uint32_t i = 0; i < hwInfo.gtSystemInfo.SubSliceCount / hwInfo.gtSystemInfo.SliceCount; i++) {
|
||||
mapping.subsliceIndices[i] = i;
|
||||
|
||||
Reference in New Issue
Block a user