Commit 1f76efc
authored
[SYCL] Accessor tags, CTAD and host_accessor (#1838)
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`1 parent 358ec04 commit 1f76efc
File tree
6 files changed
+633
-45
lines changed- sycl
- include/CL/sycl
- access
- detail
- test/basic_tests/accessor
6 files changed
+633
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
51 | 88 | | |
52 | 89 | | |
53 | 90 | | |
| |||
0 commit comments