-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancing autotuning search with nested contexts.
When doing autotuning with Kokkos kernels, it is possible to have nested search contexts. When that happens, we want to make sure that we explore all branches of all possible scenarios. For example, the "idk_jmm" test in the https://github.com/khuck/apex-kokkos-tuning repository has one context to choose between a team policy and a mdrange policy, and each of those has tunable parameters. Because the outer context has only two choices, it can converge very quickly unless we prevent it from converging until the search has completed for both team and mdrange policy implementations. That's what this change does - if we have nested search contexts, the outer context(s) won't converge until the inner context searches converge. I also reduced the max_iterations limit for random, genetic_search and simulated_annealing to 500 from 1000.
- Loading branch information
Showing
6 changed files
with
96 additions
and
8 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
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