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

[SYCL] Remove TODO/fix typos in address_cast.hpp #15435

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

aelovikov-intel
Copy link
Contributor

The extension is aligned with core SYCL wording for address_space_cast, both do not expect decorated C++ pointers as operands. Long-term plans are to replace multi_ptr with annotated_ptr, so carefully crafting the wording in both SYCL core and the extension isn't a priority right now.

The extension is aligned with core SYCL wording for
`address_space_cast`, both do not expect decorated C++ pointers as
operands. Long-term plans are to replace `multi_ptr` with
`annotated_ptr`, so carefully crafting the wording in both SYCL core and
the extension isn't a priority right now.
@@ -60,9 +56,8 @@ multi_ptr<ElementType, Space, access::decorated::no>
dynamic_address_cast(ElementType *Ptr) {
using ret_ty = multi_ptr<ElementType, Space, access::decorated::no>;
#ifdef __SYCL_DEVICE_ONLY__
// TODO: Remove this restriction.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is removed, but I don't really see any restriction being removed. Can you explain?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments starting with #15423 (comment), plus the description of this PR.

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.

2 participants