-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added Kokkos::to_Array for Kokkos::Array (analogous to std::to_array for std::array) * Changed KOKKOS_INLINE_FUNCTION into KOKKOS_FUNCTION (for inline template functions) * Added back to_Array tests * Fixed surperfluous KOKKOS_INLINE_FUNCTION * Fix for "set but not used" error for variables in a static_assert under nvcc * Guard against Kokkos::to_Array<long>({0, 1, 3}), as that is not supported under gcc8 * Renamed to_Array to to_array and to_Array_impl to to_array_impl
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 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