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.
Prefer defaulted default constructor for Bitset (kokkos#6524)
* Prefer defaulted default constructor for Bitset The default argument to the constructor that takes the size of the bitset was deferring to another constructor that creates an empty view with a label argument. This alocates 128 bits for the view header. This showed when constructing an UnorderedMap with a pointless 128-bit "header-only" allocation which implies an unnecessary fence. * Fixup update Bitset allocated unit test * Add tool-based test checking bitset default constructor does not allocate * Check other Bitset constructors do allocate * Drop weak test to see if NVCC ICE is gone
- Loading branch information
Showing
2 changed files
with
29 additions
and
5 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