Skip to content

pybind11 type caster to sycl::queue, sycl::device handle None #773

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 1 commit into from
Feb 8, 2022

Conversation

oleksandr-pavlyk
Copy link
Contributor

pybind11 type_caster for SyclQueue/SyclDevice convert None to default constructed instances

This automates interpretation of None as default-selected device/queue in pybin11 functions.

@github-actions
Copy link

github-actions bot commented Feb 7, 2022

…tructed instances

This automates interpretation of None as default-selected device/queue in pybin11 functions.
For example, one can now default queue argument to None to allow it to use default-selected
queue by default.
@oleksandr-pavlyk oleksandr-pavlyk force-pushed the allow_SyclQueue_SyclDevice_None branch from 2d9899e to 1e171c8 Compare February 8, 2022 01:39
@oleksandr-pavlyk oleksandr-pavlyk merged commit a2b0b88 into master Feb 8, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the allow_SyclQueue_SyclDevice_None branch February 8, 2022 11:49
@github-actions
Copy link

github-actions bot commented Feb 8, 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.

1 participant