Skip to content

Conversation

@ggerganov
Copy link
Member

cont #17247

  • One binary-search per thread
  • Linear merge for the rest of the elements
  • Keep merge fronts in registers to reduce global reads

@github-actions github-actions bot added ggml changes relating to the ggml tensor library for machine learning Apple Metal https://en.wikipedia.org/wiki/Metal_(API) labels Nov 17, 2025
@ggerganov ggerganov merged commit 3347e6d into master Nov 17, 2025
67 of 72 checks passed
@ggerganov ggerganov deleted the gg/metal-argsort-opt branch November 17, 2025 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Apple Metal https://en.wikipedia.org/wiki/Metal_(API) ggml changes relating to the ggml tensor library for machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants