Reduce tag pool size to 1 for AUBs

Change-Id: I3a3513250b10e899795e149bff2739193a725f84
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-11-15 14:47:52 +01:00
committed by sys_ocldev
parent 96d07db545
commit d6870a896b
17 changed files with 110 additions and 85 deletions

View File

@@ -23,7 +23,7 @@ void TimestampPacketContainer::add(Node *timestampPacketNode) {
TimestampPacketContainer::~TimestampPacketContainer() {
for (auto &node : timestampPacketNodes) {
memoryManager->getTimestampPacketAllocator()->returnTag(node);
memoryManager->peekTimestampPacketAllocator()->returnTag(node);
}
}
@@ -36,7 +36,7 @@ void TimestampPacketContainer::resolveDependencies(bool clearAllDependencies) {
for (auto &node : timestampPacketNodes) {
if (node->tag->canBeReleased() || clearAllDependencies) {
memoryManager->getTimestampPacketAllocator()->returnTag(node);
memoryManager->peekTimestampPacketAllocator()->returnTag(node);
} else {
pendingNodes.push_back(node);
}