SWDEV-392732 - Initial commit for graph doorbell optimization(AQL Buffering)

Change-Id: I451725006c54c249dc530c55d2af2a31594bf49b
This commit is contained in:
Anusha GodavarthySurya
2023-06-17 13:48:05 +00:00
committed by Anusha Godavarthy Surya
orang tua 84559d0d6f
melakukan b0e6f99ad7
7 mengubah file dengan 149 tambahan dan 19 penghapusan
+7 -4
Melihat File
@@ -310,15 +310,18 @@ bool Event::notifyCmdQueue(bool cpu_wait) {
const Event::EventWaitList Event::nullWaitList(0);
// ================================================================================================
Command::Command(HostQueue& queue, cl_command_type type,
const EventWaitList& eventWaitList, uint32_t commandWaitBits, const Event* waitingEvent)
: Event(queue, activity_prof::IsEnabled(activity_prof::OperationId(type)) ||
queue.properties().test(CL_QUEUE_PROFILING_ENABLE) || Agent::shouldPostEventEvents()),
Command::Command(HostQueue& queue, cl_command_type type, const EventWaitList& eventWaitList,
uint32_t commandWaitBits, const Event* waitingEvent)
: Event(queue,
activity_prof::IsEnabled(activity_prof::OperationId(type)) ||
queue.properties().test(CL_QUEUE_PROFILING_ENABLE) ||
Agent::shouldPostEventEvents()),
queue_(&queue),
next_(nullptr),
type_(type),
data_(nullptr),
waitingEvent_(waitingEvent),
buffering_(false),
eventWaitList_(eventWaitList),
commandWaitBits_(commandWaitBits) {
// Retain the commands from the event wait list.