ggml-sycl : use malloc_shared for UMA/integrated GPU devices#22766
Open
vmartirosyan wants to merge 1 commit intoggml-org:masterfrom
Open
ggml-sycl : use malloc_shared for UMA/integrated GPU devices#22766vmartirosyan wants to merge 1 commit intoggml-org:masterfrom
vmartirosyan wants to merge 1 commit intoggml-org:masterfrom
Conversation
arthw
reviewed
May 7, 2026
Contributor
arthw
left a comment
There was a problem hiding this comment.
I want to test it.
Could you share the test result to show the benefit?
And the info of OS, oneAPI version, Intel CPU/GPU model, LLM gguf name.
Thank you for your contribution!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
I have been executing the llama.cpp on my Intel Arc integrated platform and found out that it is not using shared memory advantage. I had already done something like this for my auto-parallelizer compiler and it really helps to boost the performance. The change helped me to achieve a speedup like: [ Prompt: 141.0 t/s | Generation: 10.7 t/s ].
Additional information
Tested on Intel Arc 140T iGPU. Should not affect any discrete GPU, as the newly added code is all in if blocks.
Requirements