mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
AUB with kernel names in case of kernel split
Related-To: NEO-2747 Change-Id: I49d3e4716db4634da6744fe91ecfb0763f67722a Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ce78f0336f
commit
10d87404b6
@@ -183,17 +183,17 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
|
||||
|
||||
enqueueHandlerHook(commandType, multiDispatchInfo);
|
||||
|
||||
if (getCommandStreamReceiver().getType() > CommandStreamReceiverType::CSR_HW) {
|
||||
if (!multiDispatchInfo.empty()) {
|
||||
auto kernelName = multiDispatchInfo.peekMainKernel()->getKernelInfo().name;
|
||||
getCommandStreamReceiver().addAubComment(kernelName.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
if (DebugManager.flags.AUBDumpSubCaptureMode.get()) {
|
||||
getCommandStreamReceiver().activateAubSubCapture(multiDispatchInfo);
|
||||
}
|
||||
|
||||
if (getCommandStreamReceiver().getType() > CommandStreamReceiverType::CSR_HW) {
|
||||
for (auto &dispatchInfo : multiDispatchInfo) {
|
||||
auto kernelName = dispatchInfo.getKernel()->getKernelInfo().name;
|
||||
getCommandStreamReceiver().addAubComment(kernelName.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
if (DebugManager.flags.MakeEachEnqueueBlocking.get()) {
|
||||
blocking = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user