Skip to content

Commit 2e7c4ba

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 ab6ab8f commit 2e7c4ba

File tree

1 file changed

+158
-110
lines changed

1 file changed

+158
-110
lines changed

0 commit comments

Comments
 (0)