-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further update to CUDA occupancy calculation (#5739)
* Update the occupancy calculation to reflect the maximum number of registers per SM, subject to the warp allocation granularity of 4 warps per SM * Addressed PR comments * Propagated warp allocation constraints to occupancy control functions * Reduce occupancy-related code-reuse in CUDA Parallel MDRange * Comment cleanup * clang-format * Check per-kernel perf, not end-to-end... * Update core/src/Cuda/Kokkos_Cuda_BlockSize_Deduction.hpp Co-authored-by: Damien L-G <dalg24+github@gmail.com> * Apply suggestions from code review Co-authored-by: Damien L-G <dalg24+github@gmail.com> * Clarified comments, fixed compile error in suggestion that I missed * clang-format --------- Co-authored-by: Damien L-G <dalg24+github@gmail.com>
- Loading branch information
Showing
3 changed files
with
106 additions
and
27 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