Skip to content

[SYCL] Add buffer container constructor and CTAD #773

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Nov 15, 2019

Conversation

rolandschulz
Copy link
Contributor

Prototype of a proposal to add a buffer constructor which takes a contiguous buffer as an argument to simplify usage and add buffer deduction guides for both iterator and container.

@rolandschulz rolandschulz force-pushed the buffer_container_ctad branch from ddf4392 to b50f3d5 Compare November 2, 2019 00:28
Copy link
Contributor

@keryell keryell left a comment

Choose a reason for hiding this comment

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

Nice! :-)

@rolandschulz rolandschulz force-pushed the buffer_container_ctad branch 2 times, most recently from 1197022 to 01d33e0 Compare November 6, 2019 00:07
keryell
keryell previously approved these changes Nov 6, 2019
Copy link
Contributor

@keryell keryell left a comment

Choose a reason for hiding this comment

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

That looks like good features in a modern C++ context.

bader
bader previously approved these changes Nov 10, 2019
@bader bader changed the title Add buffer container constructor and CTAD [SYCL] Add buffer container constructor and CTAD Nov 11, 2019
@bader
Copy link
Contributor

bader commented Nov 15, 2019

@rolandschulz, there are unresolved comments, but I'm not sure if we expect any changes in the code.
Are you going to apply suggestions from @romanovvlad?

@rolandschulz rolandschulz dismissed stale reviews from bader and keryell via 7534dad November 15, 2019 10:04
Prototype of a proposal to add a buffer constructor which takes
a contiguous buffer as an argument to simplify usage.

Signed-off-by: Roland Schulz <roland.schulz@intel.com>
Signed-off-by: Roland Schulz <roland.schulz@intel.com>
Signed-off-by: Roland Schulz <roland.schulz@intel.com>
@rolandschulz
Copy link
Contributor Author

@rolandschulz, there are unresolved comments, but I'm not sure if we expect any changes in the code.
Are you going to apply suggestions from @romanovvlad?

Sorry forgot about the one comment. Done. Also rebased.

@bader bader requested a review from romanovvlad November 15, 2019 10:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants