@@ -152,7 +152,6 @@ void metric_validate_stall_sampling_data(
152152 for (uint32_t report = 0 ; report < reportCount; report++) {
153153
154154 tmpStallCount = 0 ;
155- reportCompleteFlag = false ;
156155
157156 auto getStallCount = [&totalMetricValues](uint32_t metricReport,
158157 uint32_t metricPropertiesSize,
@@ -169,51 +168,39 @@ void metric_validate_stall_sampling_data(
169168
170169 tmpStallCount = getStallCount (report, metricPropsSize, activeOffset,
171170 metricSetStartIndex);
172- reportCompleteFlag |= (tmpStallCount != 0 );
173171 ActiveCount += tmpStallCount;
174172
175173 tmpStallCount = getStallCount (report, metricPropsSize, controlStallOffset,
176174 metricSetStartIndex);
177- reportCompleteFlag |= (tmpStallCount != 0 );
178175 ControlStallCount += tmpStallCount;
179176
180177 tmpStallCount = getStallCount (report, metricPropsSize, pipeStallOffset,
181178 metricSetStartIndex);
182- reportCompleteFlag |= (tmpStallCount != 0 );
183179 PipeStallCount += tmpStallCount;
184180
185181 tmpStallCount = getStallCount (report, metricPropsSize, sendStallOffset,
186182 metricSetStartIndex);
187- reportCompleteFlag |= (tmpStallCount != 0 );
188183 SendStallCount += tmpStallCount;
189184
190185 tmpStallCount = getStallCount (report, metricPropsSize, distStallOffset,
191186 metricSetStartIndex);
192- reportCompleteFlag |= (tmpStallCount != 0 );
193187 DistStallCount += tmpStallCount;
194188
195189 tmpStallCount = getStallCount (report, metricPropsSize, sbidStallOffset,
196190 metricSetStartIndex);
197- reportCompleteFlag |= (tmpStallCount != 0 );
198191 SbidStallCount += tmpStallCount;
199192
200193 tmpStallCount = getStallCount (report, metricPropsSize, syncStallOffset,
201194 metricSetStartIndex);
202- reportCompleteFlag |= (tmpStallCount != 0 );
203195 SyncStallCount += tmpStallCount;
204196
205197 tmpStallCount = getStallCount (report, metricPropsSize,
206198 instrFetchStallOffset, metricSetStartIndex);
207- reportCompleteFlag |= (tmpStallCount != 0 );
208199 InstrFetchStallCount += tmpStallCount;
209200
210201 tmpStallCount = getStallCount (report, metricPropsSize, otherStallOffset,
211202 metricSetStartIndex);
212- reportCompleteFlag |= (tmpStallCount != 0 );
213203 OtherStallCount += tmpStallCount;
214-
215- EXPECT_TRUE (reportCompleteFlag)
216- << " Report number " << report << " has zero for all stall counts" ;
217204 }
218205
219206 metricSetStartIndex += metricCountForDataIndex;
@@ -289,7 +276,7 @@ void metric_run_ip_sampling_with_validation(
289276 for (auto &fData : functionDataBuf) {
290277 fData .function = get_matrix_multiplication_kernel (
291278 device, &fData .tg , &fData .a_buffer , &fData .b_buffer ,
292- &fData .c_buffer , 8192 );
279+ &fData .c_buffer , 4096 );
293280 zeCommandListAppendLaunchKernel (commandList, fData .function , &fData .tg ,
294281 nullptr , 0 , nullptr );
295282 }
0 commit comments