]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
opencl : fix memory allocation size (llama/12649)
authorJunil Kim <redacted>
Tue, 1 Apr 2025 16:54:34 +0000 (01:54 +0900)
committerGeorgi Gerganov <redacted>
Wed, 2 Apr 2025 12:13:02 +0000 (15:13 +0300)
commit6f8c608df501a3796099ad8bbdceb06bfe6e65b7
tree1ac4cd10a73f1fda75be095a538af9897ec026ff
parent8f1283495f7b0bde7794981c656d2ab5063d74bd
opencl : fix memory allocation size (llama/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.
src/ggml-opencl/ggml-opencl.cpp