Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UT for enqueueMarkerWithWaitList #257

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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