Skip to content

opencl: use max_alloc_size in backend ctx instead of querying again #12705

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

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

lhez
Copy link
Contributor

@lhez lhez commented Apr 2, 2025

max_alloc_size has been queried and stored in ggml_backend_opencl_context, so we can just use it.

@lhez lhez marked this pull request as ready for review April 2, 2025 05:45
@github-actions github-actions bot added the ggml changes relating to the ggml tensor library for machine learning label Apr 2, 2025
@max-krasnyansky max-krasnyansky merged commit 97a20c0 into ggml-org:master Apr 3, 2025
48 checks passed
@lhez lhez deleted the max-alloc-size branch April 4, 2025 20:12
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.

2 participants