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

Add the MLX merge sort kernels #2751

Merged
merged 11 commits into from
Jan 28, 2025
Merged

Add the MLX merge sort kernels #2751

merged 11 commits into from
Jan 28, 2025

Conversation

LaurentMazare
Copy link
Collaborator

These kernels can be used to sort arrays of unbounded sizes in Metal and should be reasonably efficient.

@LaurentMazare LaurentMazare merged commit 8f20f2a into main Jan 28, 2025
10 of 11 checks passed
@LaurentMazare LaurentMazare deleted the mlx-sort branch January 28, 2025 13:09
super-fun-surf pushed a commit to aifx-art/candle that referenced this pull request Jan 28, 2025
* Add some metal sort kernels imported from MLX.

* Add another test.

* Start adding the multiblock version.

* Proper kernel names.

* Split out the main metal file.

* Multi-block sort.

* More sorting.

* DType parametrization.

* Add a larger test.
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

Successfully merging this pull request may close these issues.

1 participant