KhronosGroup / KhronosGroup/OpenCL-CTS

Subgroup tests - sizeof() for builtin return values is not tested

Open
#1,214 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
232
Forks
235
Avg merge
8d 7h
Merged PRs (30d)
18

Description

The sizeof() result for return values of subgroup builtin functions is generally not tested.

This should be done with dedicated kernels rather than as part of the testing of subgroup operations.

What is the purpose of the sizeof() calls in the cl_khr_subgroup_clustered_reduce tests? Are these intended to test the size of the built functions' return values? If so, this testing should be rewritten as described above.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the cl_khr_subgroup_clustered_reduce tests and their existing sizeof() calls. Determine whether those calls cover builtin return-value sizes, then add dedicated kernels for that coverage and verify the subgroup tests still exercise the intended cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.