Skip to content

UT for enqueueMarkerWithWaitList#257

Open
piotr-wozniak-mobica wants to merge 3 commits intoKhronosGroup:mainfrom
Mobica:ut_enqueueMarkerWithWaitList
Open

UT for enqueueMarkerWithWaitList#257
piotr-wozniak-mobica wants to merge 3 commits intoKhronosGroup:mainfrom
Mobica:ut_enqueueMarkerWithWaitList

Conversation

@piotr-wozniak-mobica
Copy link
Contributor

No description provided.

Comment on lines 4536 to 4537
cl::Event event;
cl::vector<cl::Event> events = {event};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not valid "real-world" code - the set of events in the event wait list must be different than the event that is signaled. Coudl you please make a specific event to wait upon instead? This would also allow us to ensure that it was passed through correctly.

Something like:

Suggested change
cl::Event event;
cl::vector<cl::Event> events = {event};
cl::Event event;
cl::vector<cl::Event> events = {cl::Event(make_event(0))};

@kamil-goras-mobica
Copy link
Contributor

@bashbaug correction added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants