Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support stable sort #970

Open
elliottslaughter opened this issue Feb 3, 2025 · 0 comments
Open

Support stable sort #970

elliottslaughter opened this issue Feb 3, 2025 · 0 comments

Comments

@elliottslaughter
Copy link

NumPy 2.0.0 and higher support stable sorting via the stable parameter to np.sort and np.argsort, etc.:

https://numpy.org/doc/2.2/reference/generated/numpy.sort.html

https://numpy.org/doc/2.2/reference/generated/numpy.argsort.html

These are not currently supported in cuPyNumeric. For that matter, Legate seems to currently build against NumPy 1.x leading me to the very painful workaround of sorting Python lists to get the job done.

This is a low priority use case for LANL/SLAC, but it might become higher priority in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant