Skip to content

Conversation

JohannesGaessler
Copy link
Collaborator

Fixes GET_ROWS for CUDA when ne11*ne12 > 65535 by adding one extra dimension for the loops. The code could maybe be more optimal if one were to dynamically swap which dimension uses the 32 bit x dimension of the CUDA grid but I think that would not be worth the opportunity cost. (But this kernel would also be applicable for fastdiv).

@github-actions github-actions bot added Nvidia GPU Issues specific to Nvidia GPUs ggml changes relating to the ggml tensor library for machine learning labels Sep 8, 2025
@JohannesGaessler JohannesGaessler merged commit 550cf72 into ggml-org:master Sep 9, 2025
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning Nvidia GPU Issues specific to Nvidia GPUs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants