SWDEV-264244 - Hide Notifications from HIP

This fixes hipStreamQuery returning hipErrorNotReady when idle
Change-Id: I3f77666a00bc6a7162b6c660d79e76c09669d94f
This commit is contained in:
Satyanvesh Dittakavi
2021-03-01 06:27:52 -05:00
parent dc58078887
commit a711a49881
3 changed files with 25 additions and 22 deletions
+2 -1
View File
@@ -254,12 +254,13 @@ const Event::EventWaitList Event::nullWaitList(0);
// ================================================================================================
Command::Command(HostQueue& queue, cl_command_type type,
const EventWaitList& eventWaitList, uint32_t commandWaitBits)
const EventWaitList& eventWaitList, uint32_t commandWaitBits, const Event* waitingEvent)
: Event(queue),
queue_(&queue),
next_(nullptr),
type_(type),
data_(nullptr),
waitingEvent_(waitingEvent),
eventWaitList_(eventWaitList),
commandWaitBits_(commandWaitBits) {
// Retain the commands from the event wait list.