8000 opencl: Add support for multiple devices (#12622) · ochafik/llama.cpp@a4e8912 · GitHub
[go: up one dir, main page]

Skip to content

Commit a4e8912

Browse files
authored
opencl: Add support for multiple devices (ggml-org#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.
1 parent edbf42e commit a4e8912

File tree

1 file changed

+236
-132
lines changed

1 file changed

+236
-132
lines changed

0 commit comments

Comments
 (0)
0