Skip to content

[SYCL][E2E] Match big-data reduction work group sizing to runtime - #23551

Merged
againull merged 1 commit into
intel:syclfrom
againull:fix/reduction-big-data-wg-size
Oct 20, 2026
Merged

againull merged 1 commit into
intel:syclfrom
againull:fix/reduction-big-data-wg-size

Conversation

@againull

Copy link
Copy Markdown
Contributor

This test exercises reductions with large element types. Match the runtime’s reduGetMaxWGSize() calculation by applying the device cap before conditionally halving, so the chosen work-group size stays within the runtime limit.

Assisted-By: OpenCode, GPT-6.1-Sol

This test exercises reductions with large element types. Match the
runtime’s reduGetMaxWGSize() calculation by applying the device cap before
conditionally halving, so the chosen work-group size stays within the
runtime limit.

Assisted-By: OpenCode, GPT-6.1-Sol
@againull
againull requested a review from a team as a code owner October 20, 2026 00:14

Copilot AI 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.

🟢 Approval recommended

The focused test changes match runtime sizing behavior, with no unresolved findings.

No open issues 🎉

What changed in this PR

Aligns the SYCL big-data reduction test’s work-group sizing with the runtime calculation.

Changes:

  • Applies the device limit before conditionally halving the work-group size.
  • Parameterizes the large vector type’s size and adds a 96-byte test case.
File Description
sycl/​test-e2e/​Reduction/​reduction_big_data.cpp Matches runtime sizing and expands element-size coverage.

Review effort: Balanced

@againull
againull merged commit ba88a04 into intel:sycl Oct 20, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants