Skip to content

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