]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
opencl: use OpenCL C standard supported by the device (llama/12221)
authorHenry Linjamäki <redacted>
Mon, 10 Mar 2025 16:57:00 +0000 (18:57 +0200)
committerGeorgi Gerganov <redacted>
Thu, 27 Mar 2025 09:06:03 +0000 (11:06 +0200)
commit3d60219622d1b55510564870ab539705eb5cefd2
tree0d8920efd63291a1febf4ac7585f0657732aa4ae
parent521d72d76e60a1314655ac76a518f7a7a39b211d
opencl: use OpenCL C standard supported by the device (llama/12221)

This patch nudges the llama.cpp a bit to be supported on PoCL which
doesn't support OpenCL C CL2.0. The issue is solved by querying the
device for the supported OpenCL C versions and using the highest one
available.
ggml/CMakeLists.txt
ggml/src/ggml-opencl/CMakeLists.txt
ggml/src/ggml-opencl/ggml-opencl.cpp