Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencl: Add support for multiple devices #12622

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linehill
Copy link
Contributor

... but limited to one platform for now. 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.

... 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.
@github-actions github-actions bot added the ggml changes relating to the ggml tensor library for machine learning label Mar 28, 2025
@linehill linehill marked this pull request as draft March 28, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant