feature: dont reset combined TS packets

Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2025-02-21 10:29:05 +00:00
committed by Compute-Runtime-Automation
parent 5961850bbc
commit 546e8fa230
4 changed files with 5 additions and 18 deletions

View File

@@ -667,15 +667,7 @@ void Event::unsetInOrderExecInfo() {
}
void Event::resetInOrderTimestampNode(NEO::TagNodeBase *newNode, uint32_t partitionCount) {
bool removeExistingNodes = inOrderIncrementValue == 0 || !newNode;
if (inOrderIncrementValue > 0 && inOrderTimestampNode.size() == inOrderIncrementOperationsCount) {
// Increment event reused. Collect new TS nodes.
removeExistingNodes = true;
inOrderExecInfo->releaseNotUsedTempTimestampNodes(true);
}
if (removeExistingNodes) {
if (inOrderIncrementValue == 0 || !newNode) {
for (auto &node : inOrderTimestampNode) {
inOrderExecInfo->pushTempTimestampNode(node, inOrderExecSignalValue);
}
@@ -756,7 +748,6 @@ ze_result_t Event::enableExtensions(const EventDescriptor &eventDescriptor) {
updateInOrderExecState(inOrderExecInfo, externalStorageProperties->completionValue, 0);
this->inOrderIncrementValue = externalStorageProperties->incrementValue;
this->inOrderIncrementOperationsCount = static_cast<uint32_t>(externalStorageProperties->completionValue / externalStorageProperties->incrementValue);
}
extendedDesc = reinterpret_cast<const ze_base_desc_t *>(extendedDesc->pNext);