]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
sycl: add ROLL operation support (llama/16665)
authortamarPal <redacted>
Mon, 27 Oct 2025 01:20:24 +0000 (03:20 +0200)
committerGeorgi Gerganov <redacted>
Sun, 9 Nov 2025 21:38:03 +0000 (23:38 +0200)
commit0e1b6c5fc420a0f2268cdbd05708694ccc51611f
tree0f38a30560b53eabaeed7b4ab5e058bb712fc6a8
parent543221d82432e125bb8c716bd402d91b4a6bcfc0
sycl: add ROLL operation support (llama/16665)

* sycl: add ROLL operation support

- Implement ggml_sycl_roll function for F32 tensors
- Add multi-axis roll operation with SYCL kernel
- Support all 4 tensor dimensions with proper shift normalization
- Add roll.cpp and roll.hpp to SYCL backend
- Update backend dispatch and supports_op for GGML_OP_ROLL
- Tests: 17662/17662 pass with identical CPU reference results

* fix: remove trailing whitespace from roll.cpp

- Fix EditorConfig violations in ggml/src/ggml-sycl/roll.cpp
- Remove trailing spaces from lines 6, 11, 28, 47, 58, 60

* ci: retrigger

* sycl: remove wait() calls from ROLL operation

* fix: editorconfig — LF endings + final newline for roll.hpp

---------

Co-authored-by: tamarPal <redacted>
ggml/src/ggml-sycl/backend.hpp
ggml/src/ggml-sycl/ggml-sycl.cpp
ggml/src/ggml-sycl/roll.cpp [new file with mode: 0644]
ggml/src/ggml-sycl/roll.hpp [new file with mode: 0644]