File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -63,5 +63,5 @@ from this registry in the future.
63
63
| CP020 | [ Interop Task] ( interop_task/interop_task.md ) | SYCL 1.2.1 | 16 January 2019 | 16 January 2019 | _ Available since CE 1.0.5_ |
64
64
| CP021 | [ Default-Constructed Buffers] ( default-constructed-buffers/default-constructed-buffers.md ) | SYCL 1.2.1 | 27 August 2019 | 5 September 2019 | _ Draft_ |
65
65
| CP022 | [ Host Task with Interop capabilities] ( host_task/host_task.md ) | SYCL 1.2.1 | 16 January 2019 | 20 January 2020 | _ Final Draft_ |
66
- | CP023 | [ Accessor aliases] ( accessor-alias/index.md ) | SYCL Next (after 1.2.1) | 22 September 2019 | 9 March 2020 | _ Work in Progress_ |
66
+ | CP023 | [ Accessor aliases] ( accessor-alias/index.md ) | SYCL Next (after 1.2.1) | 22 September 2019 | 31 March 2020 | _ Work in Progress_ |
67
67
| CP026 | [ Generalized Error Handling For SYCL] ( error-handling/sycl-error-handling.md ) | SYCL Next | 10 March 2020 | 10 March 2020 | _ Under Review_ |
Original file line number Diff line number Diff line change 5
5
| Name | Accessor aliases |
6
6
| Date of Creation | 22 September 2019 |
7
7
| Revision | 0.2 |
8
- | Latest Update | 9 March 2020 |
8
+ | Latest Update | 31 March 2020 |
9
9
| Target | SYCL Next (after 1.2.1) |
10
10
| Current Status | _ Work in Progress_ |
11
11
| Reply-to
| Peter Žužek
< [email protected] > |
Original file line number Diff line number Diff line change @@ -286,9 +286,15 @@ q.submit([&](handler& cgh){
286
286
287
287
// 4
288
288
// Allow all combinations
289
- const_int_read_write(accIntConst)
290
- int_read(accInt)
291
- const_int_read(accInt)
289
+ const_int_read_write(accIntConst);
290
+ const_int_read_write(accessor<int, 1, access::mode::read>{});
291
+ const_int_read_write(accessor<const int, 1, access::mode::read>{});
292
+ int_read(accInt);
293
+ int_read(accessor<const int>{});
294
+ int_read(accessor<const int, 1, access::mode::read>{});
295
+ const_int_read(accInt);
296
+ const_int_read(accessor<const int>{});
297
+ const_int_read(accessor<const int, 1, access::mode::read>{});
292
298
293
299
...
294
300
});
@@ -470,6 +476,7 @@ it wouldn't work with `access::target::constant_buffer`
470
476
or `access::target::host_buffer`
471
477
since those rely on alias templates
472
478
`constant_buffer_accessor` and `host_accessor`, respectively.
479
+ This also affects the `local_accessor` alias already in SYCL 1.2.1.
473
480
474
481
An option for solving this pre-C++20 would be
475
482
to define `constant_buffer_accessor` and `host_accessor` as new types
You can’t perform that action at this time.
0 commit comments