mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
refactor: remove not needed code.
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c8a3d7d268
commit
15a0bf9d7b
@@ -953,12 +953,7 @@ void CommandQueue::obtainNewTimestampPacketNodes(size_t numberOfNodes, Timestamp
|
||||
}
|
||||
|
||||
size_t CommandQueue::estimateTimestampPacketNodesCount(const MultiDispatchInfo &dispatchInfo) const {
|
||||
size_t nodesCount = dispatchInfo.size();
|
||||
auto mainKernel = dispatchInfo.peekMainKernel();
|
||||
if (obtainTimestampPacketForCacheFlush(mainKernel->requiresCacheFlushCommand(*this))) {
|
||||
++nodesCount;
|
||||
}
|
||||
return nodesCount;
|
||||
return dispatchInfo.size();
|
||||
}
|
||||
|
||||
bool CommandQueue::bufferCpuCopyAllowed(Buffer *buffer, cl_command_type commandType, cl_bool blocking, size_t size, void *ptr,
|
||||
|
||||
Reference in New Issue
Block a user