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

Improve check functions #125

Merged
merged 6 commits into from
Aug 2, 2024
Merged

Conversation

yasahi-hpc
Copy link
Collaborator

Improves #80

This PR aims at extending some check functions to work on std::array or std::vector. A check function are_valid_axes has been introduced. For this purpose, a new trait to extract the base value type has been added.

Following modifications are made

  • Add a trait base_container_value_type to extract the base value type of a container
  • Update existing check functions to work on std::array or std::vector.
  • Introduce a new check function are_valid_axes to check if the axes are valid for input Views

@yasahi-hpc yasahi-hpc self-assigned this Jul 31, 2024
common/src/KokkosFFT_utils.hpp Show resolved Hide resolved
common/src/KokkosFFT_utils.hpp Show resolved Hide resolved
common/src/KokkosFFT_utils.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_utils.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_utils.hpp Outdated Show resolved Hide resolved
common/src/KokkosFFT_utils.hpp Outdated Show resolved Hide resolved
@yasahi-hpc
Copy link
Collaborator Author

@cedricchevalier19 Thanks for reviews. I have fixed accordingly. Can I have a second review please

@yasahi-hpc yasahi-hpc merged commit e3454ae into kokkos:main Aug 2, 2024
19 checks passed
@yasahi-hpc yasahi-hpc deleted the improve-check-functions branch August 2, 2024 08:47
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