-
Notifications
You must be signed in to change notification settings - Fork 407
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
Add is_allocated to all appropriate view like containers #3059
Conversation
feec596
to
6dd3b7f
Compare
Codecov Report
@@ Coverage Diff @@
## develop #3059 +/- ##
=========================================
+ Coverage 82.6% 82.7% +0.1%
=========================================
Files 122 122
Lines 8074 8126 +52
=========================================
+ Hits 6673 6725 +52
Misses 1401 1401
Continue to review full report at Codecov.
|
I don't think we should add |
definitely not to |
Retest this please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeffmiles63 can you add documentation (you can do it on the public wiki)
Added is_allocated function to the following classes and unit tests:
Kokkos::View
Kokkos::DualView
Kokkos::DynRankView
Kokkos::DynamicView
Kokkos::Vector
Kokkos::BitSet
Kokkos::OffsetView
Kokkos::ScatterView
Kokkos::StaticCrsGraph
Kokkos::UnorderedMap
Kokkos::Array
Part of issue #3024