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

Cleaning up some warnings and enabling -Werror on CPU CI tests #107

Merged
merged 9 commits into from
Jul 2, 2024

Conversation

cedricchevalier19
Copy link
Member

Should improve #106.

  • Cleaning gcc warnings on CPU
  • Enabling warnings and warning as error

@cedricchevalier19 cedricchevalier19 changed the title Clean some warnings Cleaning up some warnings and enabling -Werror on CPU CI tests Jun 27, 2024
@yasahi-hpc
Copy link
Collaborator

Thank you for the PR. I will review as soon as possible. Actually, the unused execution space instance is more like a bug, where I made a PR #108 for hotfix.

Copy link
Collaborator

@yasahi-hpc yasahi-hpc left a comment

Choose a reason for hiding this comment

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

Sorry, most of changes stem from unused exec_space instance bug

common/src/KokkosFFT_Helpers.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_padding.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_padding.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_padding.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_padding.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_transpose.hpp Outdated Show resolved Hide resolved
@@ -290,12 +286,12 @@ void _transpose(const ExecutionSpace& exec_space, InViewType& in,
});
}

// FIXME: not used?
Copy link
Collaborator

Choose a reason for hiding this comment

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

It is at least tested. The Dimension number is used for MDRange rank, but the maximum rank is 6. So I am performing a sequential operation inside parallel region.

common/src/KokkosFFT_transpose.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_transpose.hpp Outdated Show resolved Hide resolved
fft/src/KokkosFFT_OpenMP_plans.hpp Show resolved Hide resolved
@yasahi-hpc
Copy link
Collaborator

@cedricchevalier19 Could you please rebase on the current main.

Copy link
Collaborator

@yasahi-hpc yasahi-hpc left a comment

Choose a reason for hiding this comment

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

Looks good to me. This improves CI a lot!

@yasahi-hpc yasahi-hpc merged commit 2c616d2 into kokkos:main Jul 2, 2024
15 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants