Basically, i have a set of mxnxk vector that i’ll combine over the n and k directions to shrink into a m long array. I can do this in a kernel with no reduction (dimensions n and k are relatively small, k=3, n~=20) but i was wondering if there was a good way to something similar with thrust. I looked at a zip_iterator, but being that n is both variable and pretty big, this doesn’t seem to be the way to go.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Thrust: gather to different locations | 0 | 3326 | November 17, 2011 | |
Performing N reductions at the same time - N reduction kernels or one kernel for all N reductions? | 7 | 641 | June 9, 2017 | |
Thrust `zip_iterator` with arbitrary number of iterators | 8 | 264 | September 3, 2024 | |
Best Method of squeezing multi-dimensional stl vector to one-d stl/thrust vector | 1 | 5658 | June 7, 2011 | |
custom Thrust iterator to combine consecutive elements of array | 1 | 1405 | December 14, 2018 | |
Thrust reduction question | 2 | 1103 | February 27, 2014 | |
Possible to profile Thrust codes using Visual Profiler? | 5 | 1754 | August 12, 2015 | |
reduction and interleave data | 1 | 703 | December 3, 2015 | |
Executable size when using thrust | 2 | 3366 | February 7, 2012 | |
Device to device copying with Thrust | 1 | 598 | August 27, 2015 |