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

Pass views by const& in fftshift #192

Conversation

tpadioleau
Copy link
Member

@tpadioleau tpadioleau commented Nov 4, 2024

Fixes #191

@tpadioleau tpadioleau self-assigned this Nov 4, 2024
@yasahi-hpc yasahi-hpc added bug Something isn't working enhancement New feature or request cleanup labels Nov 4, 2024
@tpadioleau tpadioleau force-pushed the 191-pass-views-by-const-in-kokkosfftfftshift branch from a97f1fe to 37d6497 Compare November 5, 2024 09:36
@tpadioleau tpadioleau marked this pull request as ready for review November 5, 2024 09:54
yasahi-hpc
yasahi-hpc previously approved these changes Nov 5, 2024
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.

Thanks, LGTM
Recently, we express the unused variable as a comment.

common/src/KokkosFFT_Helpers.hpp Outdated Show resolved Hide resolved
Co-authored-by: yasahi-hpc <[email protected]>
@tpadioleau
Copy link
Member Author

Thanks, LGTM Recently, we express the unused variable as a comment.

There is clang-tidy check to detect unnamed parameters if you want to enforce this rule.

@yasahi-hpc
Copy link
Collaborator

Thanks, LGTM Recently, we express the unused variable as a comment.

There is clang-tidy check to detect unnamed parameters if you want to enforce this rule.

This one?
https://clang.llvm.org/extra/clang-tidy/checks/readability/named-parameter.html

I will certainly add this rule

@tpadioleau
Copy link
Member Author

This one? https://clang.llvm.org/extra/clang-tidy/checks/readability/named-parameter.html

I will certainly add this rule

Yes that is it

@yasahi-hpc
Copy link
Collaborator

I added fixes #191 in order to close the issue as soon as this PR is merged

@yasahi-hpc yasahi-hpc self-requested a review November 5, 2024 12:30
@yasahi-hpc yasahi-hpc merged commit 367e7cc into kokkos:main Nov 5, 2024
20 checks passed
@yasahi-hpc yasahi-hpc mentioned this pull request Nov 5, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cleanup enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pass views by const& in KokkosFFT::fftshift
2 participants