Skip to content

Test with -Wall and -Wextra#330

Open
masterleinad wants to merge 1 commit intokokkos:developfrom
masterleinad:use_more_warning_flags
Open

Test with -Wall and -Wextra#330
masterleinad wants to merge 1 commit intokokkos:developfrom
masterleinad:use_more_warning_flags

Conversation

@masterleinad
Copy link
Copy Markdown
Contributor

No description provided.

)
if(HAVE_RESTRICT_WARNING)
target_compile_options(test_sampling_parfor PRIVATE "-Wno-restrict")
endif()
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.

@ndellingwood
Copy link
Copy Markdown
Contributor

@dalg24 @crtrott @vlkale this PR adds extra warning flag checks to testing, any concerns with the changes? If not, can this be merged?

@vlkale vlkale added the Build Building Kokkos tools label Apr 1, 2026
@vlkale
Copy link
Copy Markdown
Contributor

vlkale commented Apr 1, 2026

I have no concerns that stick out.
There are many small changes committed but they are all handling the same goal as I see. This PR looks good to me.

Copy link
Copy Markdown
Contributor

@vlkale vlkale left a comment

Choose a reason for hiding this comment

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

Yes, adding -Wno-restrict to suppress this warning makes sense for the Kokkos Tools sampler utility tests and other tests we have for Kokkos Tools.
LGTM.

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

Labels

Build Building Kokkos tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants