mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
2271ce2b7f
commit
8e45fb880f
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user