Skip to content

Refactor/sycl event #553

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

Merged
merged 12 commits into from
Aug 25, 2021
Merged

Refactor/sycl event #553

merged 12 commits into from
Aug 25, 2021

Conversation

oleksandr-pavlyk
Copy link
Contributor

@oleksandr-pavlyk oleksandr-pavlyk commented Aug 25, 2021

This PR refactors dpctl.SyclEvent class to follow design of other dpctl.Sycl* classes, defining a default constructor, constructor from a "SyclEventRef" capsule, and functions to retrieve execution status info and profiling info.

examples/python/sycl_timer.py and examples/python/dppy_kernel.py illustrate that functionality.

@coveralls
Copy link
Collaborator

Coverage Status

Coverage increased (+1.1%) to 66.192% when pulling b9f4fe7 on refactor/SyclEvent into 4e1c92b on master.

@oleksandr-pavlyk oleksandr-pavlyk merged commit b67162f into master Aug 25, 2021
@oleksandr-pavlyk oleksandr-pavlyk deleted the refactor/SyclEvent branch August 25, 2021 22:15
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