[cuda.parallel]: cuda.parallel.iterators._iterators.IteratorBase design should support input-output iterators
Open
cuda.compute
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 486
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 295
Description
The nature of the iterator is controlled by `IteratorIOKind` which only supports two modalities, `INPUT` and `OUTPUT`.
Furthermore, the iterator implementation overloads `dereference` property to provide both `dereference` and `assign` methods, thus making it impossible for `IteratorBase` to provide both.
This design needs to be fixed to support input-output iterators which `c.parallel` library supports.
Contributor guide
Assessment
This issue has not been assessed yet.