You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorting is ubiquitous in software, but kind of tricky to get right on GPU. It would be very useful to have this as a package, for example to write a raytracer.
Sorting is ubiquitous in software, but kind of tricky to get right on GPU. It would be very useful to have this as a package, for example to write a raytracer.
There's a lot of research out there, a good place to start would be https://developer.nvidia.com/gpugems/gpugems2/part-vi-simulation-and-numerical-algorithms/chapter-46-improved-gpu-sorting
We probably need at least a regular sort and an argsort.
Cubecl traits would be a nice way to implement this, being able to swap out sorting algorithms easily. This would also making testing easier.
The text was updated successfully, but these errors were encountered: