Skip to content

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

Merged
oleksandr-pavlyk merged 1 commit intomasterfrom
allow_SyclQueue_SyclDevice_None
Feb 8, 2022
Merged

pybind11 type caster to sycl::queue, sycl::device handle None#773
oleksandr-pavlyk merged 1 commit intomasterfrom
allow_SyclQueue_SyclDevice_None

Conversation

@oleksandr-pavlyk
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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