mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
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:
committed by
sys_ocldev
parent
96d07db545
commit
d6870a896b
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user