llama.cpp/ggml
Henry Linjamäki a4e8912dfd
opencl: Add support for multiple devices (#12622)
* opencl: Add support for multiple devices

... but limited to one platform. A platform with a GPU will be preferred.

Additionally:

* Filter out devices that lack capabilities needed by the backend
  implementation (half support, OpenCL 2.0+, etc).

* Make ggml_backend_opencl_reg() thread-safe.

* fixup: fix an error in sync_with_other_backends

... when there is only one OpenCL device available.
2025-05-21 16:21:45 -07:00
..
cmake scripts : update sync + fix cmake merge 2025-03-27 10:09:29 +02:00
include ggml : add ggml_gelu_erf() (#13667) 2025-05-21 16:26:33 +02:00
src opencl: Add support for multiple devices (#12622) 2025-05-21 16:21:45 -07:00
.gitignore vulkan : cmake integration (#8119) 2024-07-13 18:12:39 +02:00
CMakeLists.txt sycl: use oneDNN for matrices multiplication (#12972) 2025-05-15 16:53:41 +02:00