mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
feature: add flag to save task count and tag address in command list
Related-To: NEO-16140 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9dadadfa73
commit
138d76a893
@@ -90,12 +90,18 @@ struct CommandQueue : _ze_command_queue_handle_t {
|
||||
this->isWalkerWithProfilingEnqueued = false;
|
||||
return retVal;
|
||||
}
|
||||
inline void setPatchingPreamble(bool patching) {
|
||||
inline void setPatchingPreamble(bool patching, bool saveWait) {
|
||||
this->patchingPreamble = patching;
|
||||
this->saveWaitForPreamble = saveWait;
|
||||
}
|
||||
inline bool getPatchingPreamble() const {
|
||||
return this->patchingPreamble;
|
||||
}
|
||||
inline bool getSaveWaitForPreamble() const {
|
||||
return this->saveWaitForPreamble;
|
||||
}
|
||||
void saveTagAndTaskCountForCommandLists(uint32_t numCommandLists, ze_command_list_handle_t *commandListHandles,
|
||||
uint64_t tagGpuAddress, TaskCountType submittedTaskCount);
|
||||
|
||||
protected:
|
||||
bool frontEndTrackingEnabled() const;
|
||||
@@ -119,6 +125,7 @@ struct CommandQueue : _ze_command_queue_handle_t {
|
||||
bool heaplessStateInitEnabled = false;
|
||||
bool isWalkerWithProfilingEnqueued = false;
|
||||
bool patchingPreamble = false;
|
||||
bool saveWaitForPreamble = false;
|
||||
};
|
||||
|
||||
using CommandQueueAllocatorFn = CommandQueue *(*)(Device *device, NEO::CommandStreamReceiver *csr,
|
||||
|
||||
Reference in New Issue
Block a user