Skip to content

SYCL: add COUNT_EQUAL operator support#15937

Closed
yael-works wants to merge 0 commit intoggml-org:masterfrom
yael-works:yael/dev
Closed

SYCL: add COUNT_EQUAL operator support#15937
yael-works wants to merge 0 commit intoggml-org:masterfrom
yael-works:yael/dev

Conversation

@yael-works
Copy link
Copy Markdown
Contributor

This PR adds full SYCL backend support for the COUNT_EQUAL operator.

  • Implemented op_count_equal in binbcast.hpp
  • Added SYCL dispatch in ggml-sycl.cpp
  • Updated ggml.c / ggml.h to register GGML_OP_COUNT_EQUAL
  • Regenerated docs/ops CSV (support=YES for f32/f16/i32/i16)
  • Verified with test-backend-ops support and test-backend-ops test (CPU+SYCL both pass)

This implementation mirrors the existing SUB operator for consistency.

@github-actions github-actions Bot added documentation Improvements or additions to documentation testing Everything test related ggml changes relating to the ggml tensor library for machine learning SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language labels Sep 11, 2025
@yael-works yael-works closed this Sep 14, 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 testing Everything test related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant