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.
Add bound checks in RangePolicy and MDRangePolicy (kokkos#6617)
* Added a bounds check in MDRangePolicy that checks that all lower bounds are less than its upper bound * Modified the wording on the abort * Converted the error msg from a stringstream to a string * Modified abort msg * Fixed the unit test output based on backend's default iterate direction * Update core/unit_test/TestMDRangePolicyConstructors.hpp Formatting. Co-authored-by: Damien L-G <dalg24+github@gmail.com> * Updated RangePolicy to have the same precondition as MDRangePolicy --------- Co-authored-by: Damien L-G <dalg24+github@gmail.com>
- Loading branch information
Showing
4 changed files
with
57 additions
and
4 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