mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 01:48:50 +08:00
feature: get command list information for in order noop data
Related-To: NEO-15376 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c2d64cae6a
commit
092f2bb333
@@ -23,6 +23,7 @@
|
||||
#include "shared/source/os_interface/os_context.h"
|
||||
#include "shared/source/os_interface/product_helper.h"
|
||||
|
||||
#include "level_zero/core/source/cmdlist/cmdlist_imp.h"
|
||||
#include "level_zero/core/source/cmdqueue/cmdqueue_imp.h"
|
||||
#include "level_zero/core/source/device/device.h"
|
||||
#include "level_zero/core/source/device/device_imp.h"
|
||||
@@ -400,4 +401,13 @@ void CommandQueueImp::makeResidentForResidencyContainer(const NEO::ResidencyCont
|
||||
}
|
||||
}
|
||||
|
||||
void CommandQueueImp::prepareInOrderCommandList(CommandListImp *commandList) {
|
||||
if (commandList->inOrderCmdsPatchingEnabled()) {
|
||||
commandList->addRegularCmdListSubmissionCounter();
|
||||
commandList->patchInOrderCmds();
|
||||
} else {
|
||||
commandList->clearInOrderExecCounterAllocation();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user