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
[SYCL][Doc] Update property_list specification to revision 2 #5338
Conversation
rolandschulz
commented
Jan 19, 2022
- Distinquish between key and value
- Rename foo_v into foo
- Rename foo into foo_key
- Rename property_list into properties
- Other cleanup
- Distinquish between key and value - Rename foo_v into foo - Rename foo into foo_key - Rename property_list into properties - Other cleanup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mostly LGTM. Thank you for making all these changes!
I found a few typos, and a few instances where I'm not sure if you're missing a _key
suffix. All the ones I'm not sure of end with a "?"; please ignore them if I'm wrong.
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/PropertyList/SYCL_EXT_ONEAPI_property_list.asciidoc
Outdated
Show resolved
Hide resolved
Co-authored-by: John Pennycook <john.pennycook@intel.com> Co-authored-by: Greg Lueck <gregory.m.lueck@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT!
|
||
Compile-time-constant properties are an important building block for classes and functions that have a need to propagate compile-time information for semantic and optimization purposes, while runtime properties continue to serve an important role in dynamic parameter specification. | ||
|
||
This extension introduces `sycl::ext::oneapi::properties`, which is a replacement for `sycl::property_list` that supports the storage and manipulation of compile-time-constant properties in addition to runtime properties. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I thought of something else ... didn't we decide that the first implementation will be experimental? If so, we should change the namespace to sycl::ext::oneapi::experimental::properties
.
Tagging @steffenlarsen to see if this matches the implementation he is working on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I thought of something else ... didn't we decide that the first implementation will be experimental? If so, we should change the namespace to sycl::ext::oneapi::experimental::properties.
Yes, I believe we agreed that it should be experimental for now. Whether or not the namespace change should be done in this PR I'll let you decide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Note that I revoked my approval for now. I think we need to adjust the namespace in this document to state that these APIs are in the |
@gmlueck, do you want @rolandschulz to make this change in this PR or doing it in a separate PR is fine? |
I guess I'm not opposed to doing it in a separate PR, but I'm not sure why that helps. Does @rolandschulz prefer to do it in a separate PR? |
This option was mentioned by @steffenlarsen in this comment.
|
Given approvals I assumed that would be the solution, following the previous discussion. I do not have a preference for whether or not it is included in this PR. |
OK, I re-added my approval. I'm OK with fixing the namespace in a separate PR. |