While the SyclIterator interface does provide the position the iterator is pointing to in a buffer, they are not used when retrieving the buffer from the iterators and launching kernels for algorithms.
I've also attached a few tests, two of which fail at the moment. The failing ones have iterators with either the starting or ending position in the buffer altered.
buffer_iterator.cpp.tar.gz
While the SyclIterator interface does provide the position the iterator is pointing to in a buffer, they are not used when retrieving the buffer from the iterators and launching kernels for algorithms.
I've also attached a few tests, two of which fail at the moment. The failing ones have iterators with either the starting or ending position in the buffer altered. buffer_iterator.cpp.tar.gz