mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
feature: dont reset combined TS packets
Related-To: NEO-13971 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5961850bbc
commit
546e8fa230
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user