Skip to content

Added floating point types support for work_group_reduce tests#2525

Merged
bashbaug merged 4 commits into
KhronosGroup:mainfrom
shajder:add_work_group_reduce_fp
May 19, 2026
Merged

Added floating point types support for work_group_reduce tests#2525
bashbaug merged 4 commits into
KhronosGroup:mainfrom
shajder:add_work_group_reduce_fp

Conversation

@shajder
Copy link
Copy Markdown
Contributor

@shajder shajder commented Sep 15, 2025

Related to #1364

Comment thread test_conformance/workgroups/test_wg_scan_reduce.cpp Outdated
Comment thread test_conformance/workgroups/test_wg_scan_reduce.cpp Outdated
Comment thread test_conformance/workgroups/test_wg_scan_reduce.cpp
Comment thread test_conformance/workgroups/test_wg_scan_reduce.cpp
@bashbaug
Copy link
Copy Markdown
Contributor

Related to #2529 and #2533.

bashbaug
bashbaug previously approved these changes May 14, 2026
Comment on lines +211 to +212
static void generate_reference_values(Type *inptr, size_t n_elems,
size_t max_wg_size, Type &max_err = 0)
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.

Slight nitpick: This is generating input values (and the max error for those input values), not reference values. Might be best to rename this function to avoid confusion.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

shajder added a commit to shajder/OpenCL-CTS that referenced this pull request May 19, 2026
-adapted from KhronosGroup#2525 due to code review
shajder added a commit to shajder/OpenCL-CTS that referenced this pull request May 19, 2026
-adapted from KhronosGroup#2525 due to code review
Copy link
Copy Markdown
Contributor

@bashbaug bashbaug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging as discussed in the May 19th teleconference.

@bashbaug bashbaug merged commit 832f4a6 into KhronosGroup:main May 19, 2026
8 checks passed
ahesham-arm pushed a commit that referenced this pull request Jun 4, 2026
…add, max, min) (#2713)

Add missing cl_khr_fp16 pragma for newly added half type tests in
#2525.

- work_group_reduce_add
- work_group_reduce_max
- work_group_reduce_min
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants