fix: Add check if packet count is exceeded

Related-To: NEO-13003

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
Aravind Gopalakrishnan
2025-06-16 18:27:30 +00:00
committed by Compute-Runtime-Automation
parent 2271ce2b7f
commit 8e45fb880f
4 changed files with 23 additions and 2 deletions

View File

@@ -445,7 +445,7 @@ struct CommandStreamReceiverTagTests : public ::testing::Test {
typename FamilyType::TimestampPacketType zeros[4] = {};
for (uint32_t i = 0; i < TimestampPacketConstants::preferredPacketCount; i++) {
for (uint32_t i = 0; i < FamilyType::timestampPacketCount; i++) {
tag->assignDataToAllTimestamps(i, zeros);
}