Skip to content

[SYCL][Doc] Clarify availability of get_property() #5992

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
Apr 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -444,15 +444,16 @@ a|
template<typename PropertyT>
PropertyT get_property() const;
``` | Returns a copy of the property value contained in the property list.
Must produce a compile error if the property list does not contain a PropertyT property.
Available only if `PropertyT` is a runtime property.
Available only if `PropertyT` is a runtime property and the property list
contains a `PropertyT` property.
a|
```c++
template<typename PropertyKeyT>
static constexpr auto get_property();
``` | Returns a copy of the property value contained in the property list.
Must produce a compile error if the property_list does not contain a property with the `PropertyKeyT` key.
Available only if `PropertyKeyT` is the property key class of a compile-time constant property.
Available only if `PropertyKeyT` is the property key class of a compile-time
constant property and the property list contains a property with the
`PropertyKeyT` key.
|===
--

Expand Down