mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
Estimate command stream size for marker profiling
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9c181df6e6
commit
9fe2dddcd3
@@ -452,7 +452,7 @@ class CommandQueueHw : public CommandQueue {
|
||||
LinearStream *obtainCommandStream(const CsrDependencies &csrDependencies, bool blitEnqueue, bool blockedQueue,
|
||||
const MultiDispatchInfo &multiDispatchInfo, const EventsRequest &eventsRequest,
|
||||
std::unique_ptr<KernelOperation> &blockedCommandsData,
|
||||
Surface **surfaces, size_t numSurfaces) {
|
||||
Surface **surfaces, size_t numSurfaces, bool isMarkerWithProfiling) {
|
||||
LinearStream *commandStream = nullptr;
|
||||
|
||||
bool profilingRequired = (this->isProfilingEnabled() && eventsRequest.outEvent);
|
||||
@@ -469,7 +469,7 @@ class CommandQueueHw : public CommandQueue {
|
||||
blockedCommandsData = std::make_unique<KernelOperation>(commandStream, *gpgpuCsr.getInternalAllocationStorage());
|
||||
} else {
|
||||
commandStream = &getCommandStream<GfxFamily, commandType>(*this, csrDependencies, profilingRequired, perfCountersRequired,
|
||||
blitEnqueue, multiDispatchInfo, surfaces, numSurfaces);
|
||||
blitEnqueue, multiDispatchInfo, surfaces, numSurfaces, isMarkerWithProfiling);
|
||||
}
|
||||
return commandStream;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user