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.
Threads: replace enum with constexpr int and enum class (kokkos#6514)
* Add support for enum in spinwait * Replace enum by enum class and static constexpr in ThreadsInternal * Let the compiler deduce the template parameter * Move the ThreadsInternal::State enum to its own file * Move Kokkos_Spinwait to the Threads backend * Remove template parameters of functions in Kokkos_Threads_Spinwait * Remove unused functions * Fix indentation * Remove useless include
- Loading branch information
Showing
11 changed files
with
174 additions
and
225 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.