Skip to content

Conversation

@shani-f
Copy link
Contributor

@shani-f shani-f commented Nov 9, 2025

This PR adds full SYCL backend support for GGML_UNARY_OP_ABS.

What’s included

  • Implemented ABS kernel with correct handling of tensor strides (nb, nbd)
  • Supports both f16 and f32
  • Works for contiguous and non-contiguous (view) tensors
  • Added ABS to the SYCL unary dispatch logic
  • All tests in test-backend-ops pass (f16/f32, view & non-view)

Notes

  • No changes for CPU or CUDA paths
  • No impact on performance of other unary ops

@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 Nov 9, 2025
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 9, 2025
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 SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant