]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
opencl : fix memory allocation size (#12649)
authorJunil Kim <redacted>
Tue, 1 Apr 2025 16:54:34 +0000 (01:54 +0900)
committerGitHub <redacted>
Tue, 1 Apr 2025 16:54:34 +0000 (09:54 -0700)
commitf423981ac806bf031d83784bcb47d2721bc70f97
tree528d7de9bb7c6db1130d09bbbb9b8c5222e3b97b
parente39e727e9a3daec7082b9c59540a429ad85914af
opencl : fix memory allocation size (#12649)

issue:
https://github.com/CodeLinaro/llama.cpp/pull/17#issuecomment-2760611283

This patch fixes the memory allocation size
not exceeding the maximum size of the OpenCL device.
ggml/src/ggml-opencl/ggml-opencl.cpp