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

Add default context #827

Merged
merged 9 commits into from
May 2, 2022
Merged

Add default context #827

merged 9 commits into from
May 2, 2022

Conversation

oleksandr-pavlyk
Copy link
Collaborator

Adds DPCTLPlatform_GetDefaultContext that exposes sycl::platform::ext_oneapi_get_default_context() (ext_oneapi_default_context extension).

@github-actions
Copy link

github-actions bot commented May 2, 2022

@coveralls
Copy link
Collaborator

coveralls commented May 2, 2022

Coverage Status

Coverage decreased (-0.01%) to 82.856% when pulling 534fb61 on add-default-context into 7a86fbf on master.

@oleksandr-pavlyk
Copy link
Collaborator Author

@diptorupd Do you think SyclDevice.platform should be SyclDevice.sycl_platform instead?

dpctl/_sycl_device.pyx Outdated Show resolved Hide resolved
@oleksandr-pavlyk oleksandr-pavlyk merged commit f16d6d1 into master May 2, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the add-default-context branch May 2, 2022 21:10
@github-actions
Copy link

github-actions bot commented May 2, 2022

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

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