Skip to content

[SYCL] Fix function signature for ggml_backend_sycl_split_buffer_type - #28981

Merged
Titaniumtown merged 1 commit into
ggml-org:masterfrom
mctylr-gh:sycl-device-sig
Sep 17, 2026
Merged

Titaniumtown merged 1 commit into
ggml-org:masterfrom
mctylr-gh:sycl-device-sig

Conversation

@mctylr-gh

@mctylr-gh mctylr-gh commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Overview

Corrects the function signature for the function ggml_backend_sycl_split_buffer_type of the SYCL implementation of ggml_backend_split_buffer_type_t function.

Also add C++17 attribute [[maybe_unused]] to function ggml_sycl_set_peer_access.

This adds no new functionality, but may partially address some errors relating to multi-GPU setups using SYCL.

Additional information

Issue #28980 - Misc. bug: [SYCL] incorrect func sig for ggml_backend_sycl_split_buffer_type

Requirements

Pi / Qwen was used leading to the discovery of this issue, it was not used in writing of the code, issue, commit message, or this PR.

Assisted-by: pi (unsloth/Qwen3.8-27B-GGUF:Q4_K_M via llama.cpp)

also add C++17 attribute [[maybe_unused]] to function
`ggml_sycl_set_peer_access`.

This adds no new functionality, but may *partially* address some errors
relating to multi-GPU setups using SYCL.

pi / Qwen was used leading to the discovery of this issue, it was not used in
writing of the code, issues, or this commit message.

Assisted-by: pi (unsloth/Qwen3.8-27B-GGUF:Q4_K_M via llama.cpp)
@mctylr-gh
mctylr-gh requested review from a team and ggerganov as code owners September 16, 2026 04:29
@github-actions github-actions Bot added ggml changes relating to the ggml tensor library for machine learning SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language labels Sep 16, 2026

@arthw arthw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good job!

The multiple GPUs is blocked by other issue.
The issue fixed by this PR is screened by them.
I will fix it as soon.

Thank you!

@arthw arthw added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Sep 16, 2026
@Titaniumtown
Titaniumtown merged commit aa39d7a into ggml-org:master Sep 17, 2026
27 of 31 checks passed
@mctylr-gh
mctylr-gh deleted the sycl-device-sig branch September 17, 2026 02:18
@BrewTestBot BrewTestBot mentioned this pull request Sep 23, 2026
1 task done
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 merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants