OpenMPCD
|
Functor class for advancing a pointer by the given stride. More...
#include <StridedIteratorRange.hpp>
Public Member Functions | |
const OPENMPCD_CUDA_HOST_AND_DEVICE IteratorDifference | operator() (const IteratorDifference &i) const |
Calculates how many times the underlying iterator has to be incremented to achieve i increments of the effective iterator. More... | |
Functor class for advancing a pointer by the given stride.
Definition at line 60 of file StridedIteratorRange.hpp.
|
inline |
Calculates how many times the underlying iterator has to be incremented to achieve i
increments of the effective iterator.
[in] | i | The number of times the effective iterator is to be incremented. |
Definition at line 73 of file StridedIteratorRange.hpp.