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.
Deprecate
{Cuda,HIP}::detect_device_count()
and `Cuda::[detect_]dev…
…ice_arch()` (kokkos#6710) * CUDA/HIP: Inline getting device count get_device_count() -> int cannot be generic. Get rid of the extra indirection because it brings no benefit. * Get rid of CudaInternalDevices and cleanup Cuda::print_configuration() * Get rid of cuda_get_device_{count,properties}_wrapper() * Missed a few CudaInternalDevices and get rid of Cuda::detect_device_arch() * Get rid of Cuda::device_arch() * Fixup Co-authored-by: Bruno Turcksin <bruno.turcksin@gmail.com> * Don’t mess with Voodoo * Be more conservative and deprecate before removing * Clang-format for suggestion made on GH * Remove stray const qualifier * Forgot that device_arch() was static * Who Let the Bugs Out?? * The same thing we do every night, Pinky - try to take over the world! * this should fix it --------- Co-authored-by: Bruno Turcksin <bruno.turcksin@gmail.com>
- Loading branch information
Showing
6 changed files
with
50 additions
and
163 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