forked from kokkos/kokkos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check matching static extents in View constructor (kokkos#5190)
* Also check static extents * Use separate bools for the two checks and improve error messages * Improve error messages * Refactor test * Add another test * Extend existing tests * Use make_index_sequence * Remove LIVE and DIE * Try removing guards for OpenMPTarget * Use different style in view_construction_with_wrong_static_extents * Remove template template parameter * Also check unmanaged views * Fix DynRankView * Add FIXME * Pass label by const char * * fix terminating define * Deduce rank and dynamic_rank from View * Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined * Guard with if constexpr --------- Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
- Loading branch information
1 parent
27286c3
commit 0e4a158
Showing
5 changed files
with
265 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.