Skip to content

Add a wait_list method for the SyclEventRaw class #527

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

Conversation

vlad-perevezentsev
Copy link
Collaborator

This PR will add a wait_list method for the SyclEventRaw class which returns a list of events that the event is still waits for.

@@ -222,3 +227,20 @@ cdef class SyclEventRaw(_SyclEventRaw):
return event_status_type.complete
else:
raise ValueError("Unknown event status.")

def wait_list(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to use @property decorator?

@oleksandr-pavlyk oleksandr-pavlyk merged commit 74cb00a into IntelPython:refactor/SyclEvent Aug 16, 2021
vlad-perevezentsev added a commit to vlad-perevezentsev/dpctl that referenced this pull request Aug 23, 2021
@vlad-perevezentsev vlad-perevezentsev deleted the cython_waitList branch June 20, 2023 10:54
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.

2 participants