Skip to content

Commit 1857f51

Browse files
committed
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.
1 parent 80982e8 commit 1857f51

File tree

1 file changed

+233
-132
lines changed

1 file changed

+233
-132
lines changed

0 commit comments

Comments
 (0)