lion03 / thrust

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

gather example codes seem wrong #279

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
reported in this thread 
http://groups.google.com/group/thrust-users/browse_thread/thread/a74aeb29e5edb40
a

Original issue reported on code.google.com by jaredhoberock on 18 Nov 2010 at 5:36

GoogleCodeExporter commented 8 years ago
The code snippet in the documentation says it's marking odd indices with a 1,
but it actually marks odd indices with 0, so does even indices with 1.
The 1s should precede 0s in output vector.

Original comment by ryu...@gmail.com on 19 Nov 2010 at 2:27

GoogleCodeExporter commented 8 years ago
Duplicate of issue #284

Original comment by wnbell on 18 Dec 2010 at 8:45