Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subgroups: fix Wsign-compare warnings #1778

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

svenvh
Copy link
Member

@svenvh svenvh commented Jun 30, 2023

The subgroup and workgroup sizes reported by clGetKernelSubGroupInfo and clGetKernelWorkGroupInfo are of type size_t. Avoid changing the values to an int type as they are propagated through the tests and then compared against size_t again.

The subgroup and workgroup sizes reported by clGetKernelSubGroupInfo
and clGetKernelWorkGroupInfo are of type `size_t`.  Avoid changing the
values to an `int` type as they are propagated through the tests and
then compared against `size_t` again.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Copy link
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 August 29th teleconference.

@bashbaug bashbaug merged commit c23631c into KhronosGroup:main Aug 29, 2023
@svenvh svenvh deleted the wsigncompare-subgroup branch August 29, 2023 18:55
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.

2 participants