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

Clarify group algorithms don't support iterators #723

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

Conversation

Pennycook
Copy link
Contributor

The working group decided that SYCL 2020 should be limited to pointers. Extending these interfaces to accept iterators is under consideration for SYCL-Next.

Closes #409.

The working group decided that SYCL 2020 should be limited to pointers.
Extending these interfaces to accept iterators is under consideration for
SYCL-Next.
@@ -21703,7 +21703,7 @@ reported by [code]#Group::fence_scope#).
SYCL provides an algorithms library based on the functions described in Section
28 of the {cpp17} specification.
The first argument to each function is a <<group>>, and data ranges can be
described using pointers, iterators or instances of the [code]#multi_ptr# class.
described using pointers or instances of the [code]#multi_ptr# class.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this is a separate PR, but the constraints on the functions below don't make it clear that multi_ptr is allowed. They just say "Ptr is a pointer".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd prefer to do it in a separate PR, if you don't mind. It probably makes sense to fix the Ptr constraints while addressing #340, because we're already going to have to clarify what they can point to.

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.

Group algorithms cannot take iterators
3 participants