Skip to content

[SYCL] Support OP XIELU - #25550

Merged
ggerganov merged 1 commit into
ggml-org:masterfrom
atsmith3:sycl/unary_op_xielu
Jul 15, 2026
Merged

[SYCL] Support OP XIELU#25550
ggerganov merged 1 commit into
ggml-org:masterfrom
atsmith3:sycl/unary_op_xielu

Conversation

@atsmith3

Copy link
Copy Markdown
Contributor

Support XIELU

Overview

Following design patterns in the other back ends to implement the XIELU op in SYCL.

I have tested the XIELU op on Arc Pro B60 and Intel Integrated Graphics.

./test-backend-ops -o XIELU

Results:

Backend 1/4: SYCL0
  Device description: Intel(R) Arc(TM) Pro B60 Graphics
  Device memory: 24480 MB (24399 MB free)

  XIELU(type=f32,ne=[10,5,4,3]): OK
  XIELU(type=f16,ne=[10,5,4,3]): OK
  XIELU(type=f32,ne=[512,16,1,1]): OK
  XIELU(type=f16,ne=[512,16,1,1]): OK
  4/4 tests passed
  Backend SYCL0: OK
Backend 2/4: SYCL1
  Device description: Intel(R) Arc(TM) Pro B60 Graphics
  Device memory: 24480 MB (24416 MB free)

  XIELU(type=f32,ne=[10,5,4,3]): OK
  XIELU(type=f16,ne=[10,5,4,3]): OK
  XIELU(type=f32,ne=[512,16,1,1]): OK
  XIELU(type=f16,ne=[512,16,1,1]): OK
  4/4 tests passed
  Backend SYCL1: OK
Backend 3/4: SYCL2
  Device description: Intel(R) Graphics
  Device memory: 29010 MB (12797 MB free)

  XIELU(type=f32,ne=[10,5,4,3]): OK
  XIELU(type=f16,ne=[10,5,4,3]): OK
  XIELU(type=f32,ne=[512,16,1,1]): OK
  XIELU(type=f16,ne=[512,16,1,1]): OK
  4/4 tests passed
  Backend SYCL2: OK

Requirements

None

  • I have read and agree with the contributing guidelines

  • AI usage disclosure: YES AI was used to plan, and implement this backend operation. Sonnet 5, ClaudeCode

@atsmith3
atsmith3 requested a review from a team as a code owner July 11, 2026 06:29
@github-actions github-actions Bot added documentation Improvements or additions to documentation ggml changes relating to the ggml tensor library for machine learning SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language labels Jul 11, 2026
fnrcum pushed a commit to fnrcum/llama.cpp that referenced this pull request Jul 13, 2026
Backport of upstream PR ggml-org#25550. Implements GGML_UNARY_OP_XIELU in the
SYCL backend following the existing element-wise op pattern.

Assisted-by: Fable 5 (Cursor)
Co-authored-by: Cursor <cursoragent@cursor.com>
fnrcum pushed a commit to fnrcum/llama.cpp that referenced this pull request Jul 13, 2026
…org#25550 (XIELU)

Assisted-by: Fable 5 (Cursor)
Co-authored-by: Cursor <cursoragent@cursor.com>

@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!

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 Jul 14, 2026
@ggerganov
ggerganov merged commit 22b208b into ggml-org:master Jul 15, 2026
29 checks passed
zengde pushed a commit to zengde/llama.cpp that referenced this pull request Jul 16, 2026
CowboyTim pushed a commit to aardbeiplantje/llama.cpp that referenced this pull request Jul 21, 2026
smalinin pushed a commit to smalinin/llama.cpp that referenced this pull request Aug 4, 2026
satindergrewal pushed a commit to satindergrewal/llama.cpp that referenced this pull request Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation 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