]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/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:51:57 +0000 (15:51 +0300)
commitb63d23f728538dc9a01bce6a2cccaa12629089c3
treefae6a2c609f1c350dfe0644a6bb0d646069e8f8d
parentf6ce10e4a112f0903483e0559f2fc27b715c477e
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.
ggml/src/ggml-opencl/ggml-opencl.cpp