mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Add postSyncAddress to flush after walker
Change-Id: I7fdfaf8e0acc365998cc74306ab715ea3d9c7d72 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
f50461ef9f
commit
e53a8e8709
@@ -557,4 +557,13 @@ void CommandQueue::obtainNewTimestampPacketNodes(size_t numberOfNodes, Timestamp
|
||||
timestampPacketContainer->add(allocator->getTag());
|
||||
}
|
||||
}
|
||||
|
||||
size_t CommandQueue::estimateTimestampPacketNodesCount(const MultiDispatchInfo &dispatchInfo) const {
|
||||
size_t nodesCount = dispatchInfo.size();
|
||||
auto mainKernel = dispatchInfo.peekMainKernel();
|
||||
if (mainKernel->requiresCacheFlushCommand(*this)) {
|
||||
nodesCount++;
|
||||
}
|
||||
return nodesCount;
|
||||
}
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user