-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate --[kokkos-]threads
command line argument in favor of --[kokkos-]num-threads
#5111
Deprecate --[kokkos-]threads
command line argument in favor of --[kokkos-]num-threads
#5111
Conversation
…kos-]num-threads for consistency
Here is a link to the documentation https://github.com/kokkos/kokkos/wiki/Initialization#51-initialization-by-command-line-arguments Note that the changes proposed here are consistent with the naming of the data member |
Wiki is actually outdated (missing kokkos/core/src/Kokkos_Core.hpp Lines 84 to 94 in 999c208
For reference, below is a table that includes the data members from the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strongly in favor of this change. Just makes perfect sense to have a consistent naming prefix
@dalg24 now there is this:
|
I noticed the inconsistency (so did I for |
Rational: consistency
--[kokkos-]help
KOKKOS_DISABLE_WARNINGS
--kokkos-disable-warnings
KOKKOS_TUNE_INTERNALS
--kokkos-tune-internals
KOKKOS_NUM_THREADS
--[kokkos-]threads
KOKKOS_NUMA
--[kokkos-]numa
KOKKOS_DEVICE_ID
--[kokkos-]device-id
KOKKOS_NUM_DEVICES
--[kokkos-]num-devices
(optional 2nd INT to skip)KOKKOS_SKIP_DEVICE
--[kokkos-]num-devices
KOKKOS_RAND_DEVICES
It was pointed out on the developer channel on Slack that
--kokkos-disable-warnings
and--kokkos-tune-internals
do not have without thekokkos-
prefix. I would prefer not settling this here. I tend to think we should only have supported--help
.