Sorting many small “packed” arrays by key in CUDA

On problem of interest, is that of extending the approach in “Sorting many small arrays by key in CUDA” to the case when multiple arrays must be ordered according to the same key.

Unfortunately, it is not possible to use cub::BlockRadixSort by “packing” the arrays using zip iterators and tuples. Accordingly, we have exploited an helper index approach.

On our GitHub website a fully worked example is reported.

Leave a Reply

Your email address will not be published. Required fields are marked *