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][Doc][WIP][DO-NOT-MERGE] Draft extension that simplifies accessors and reduces their verbosity #1498

Conversation

mkinsner
Copy link

@mkinsner mkinsner commented Apr 9, 2020

Signed-off-by: Michael Kinsner michael.kinsner@intel.com

Signed-off-by: Michael Kinsner <michael.kinsner@intel.com>
@mkinsner mkinsner requested a review from jbrodman as a code owner April 9, 2020 14:11
@bader bader marked this pull request as draft April 15, 2020 14:14
@bader
Copy link
Contributor

bader commented Apr 15, 2020

@mkinsner, I converted this PR to a draft to prevent from accidental merge.

@bader bader added the spec extension All issues/PRs related to extensions specifications label May 2, 2020
@bader
Copy link
Contributor

bader commented May 17, 2020

@mkinsner, do you think it's ready for review?

bader pushed a commit that referenced this pull request Jun 18, 2020
This patch adds the implementation of [SYCL_INTEL_accessor_simplification](#1498) extension.

It adds:
- `host_accessor`
- `read_only`, `write_only`, `read_write`, `read_constant` tags
- `noinit` property
- a number of constructors for both buffer `accessor` and `host_accessor` to utilize newly added tags and properties for usage simplification

Most use cases for `accessor` has no longer need for specifying template arguments and rely on deduction guides and corresponding tags.

`sycl::access::target` is now accessible from `sycl::target` and `sycl::access::mode` from `sycl::access_mode`
bader pushed a commit that referenced this pull request Jul 13, 2020
This patch adds host task functionality of [SYCL_INTEL_accessor_simplification](#1498) extension.

`handler` type is now valid argument for `host_accessor` and `buffer.get_host_access()`, which enables non-blocking behavior, while accessing memory on the host.
@mkinsner
Copy link
Author

This extension has been superseded by the SYCL 2020 provisional specification, which is an iteration of this proposal. Closing this PR since the provisional Khronos spec captures the content in an evolved form.

@mkinsner mkinsner closed this Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec extension All issues/PRs related to extensions specifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants