lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

repeating iterator #352

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

if I did not miss it, it seems it is not possible to create an iterator than 
could loop over a sequence. Such as if the used index is a kind of modulo of 
the real sequence size.

As an example of use, it could be useful to apply a binary transform on 2 
vectors that does not have the same sizes, but where you want to reapeat the 
small vector against the big one.

Am I clear enough?

Thanks.

Original issue reported on code.google.com by matthieu.nesme@gmail.com on 28 Jul 2011 at 9:28

GoogleCodeExporter commented 8 years ago
Please use our mailing list [1] for usage questions.

[1] https://groups.google.com/forum/#!forum/thrust-users

Original comment by jaredhoberock on 28 Jul 2011 at 5:59

GoogleCodeExporter commented 8 years ago
ok, sorry

Original comment by matthieu.nesme@gmail.com on 29 Jul 2011 at 8:33