Fix time stamps completion

- ignore globalEnd tag
- check contextEnd tag is not 1

Resolves: NEO-4906

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:
Igor Venevtsev
2020-11-17 14:07:38 +01:00
committed by Compute-Runtime-Automation
parent 757e8d746c
commit 3491a425a3
2 changed files with 17 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ struct TimestampPacketStorage {
}
for (uint32_t i = 0; i < packetsUsed; i++) {
if ((packets[i].contextEnd & 1) || (packets[i].globalEnd & 1)) {
if (packets[i].contextEnd == 1) {
return false;
}
}