Skip to content

Conversation

@JohannesGaessler
Copy link
Collaborator

Adds a static assert to prevent the use of ggml_cuda_memcpy_1 in a way that's not intended. The problem is that the purpose of the function is to do properly coalesced and aligned copies, if copies larger than the maximum amount of bytes per instruction are allowed that will complicate making possible changes in the future.

@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 Nov 12, 2025
@JohannesGaessler JohannesGaessler merged commit 5d6838b into ggml-org:master Nov 12, 2025
60 of 61 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