-
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
Runtime option for tuning #3459
Runtime option for tuning #3459
Conversation
Retest this please |
++beers_i_owe_dalg24
Co-authored-by: Damien L-G <dalg24+github@gmail.com>
Co-authored-by: Damien L-G <dalg24+github@gmail.com>
…koff/kokkos into feature/tuning-runtime-option
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.
I am pretty much good with it modulo history clean up
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.
Looks good. But can we add a simple test to the initialization tests? I.e. something which sets the InitArgument and then checks that tune_internals has the right value?
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.
See comment on check logic.
@dalg24, re history cleanup, comfortable just squash-merging? No other work depends on this |
* Added "tune_internals" function * Only tune Kokkos internals if it was requested * Only declare internal features if internal tuning is enabled * Fixed logic error in pre_initialize. ++beers_i_owe_dalg24 * Better documentation message in help * Remove extra space Co-authored-by: Damien L-G <dalg24+github@gmail.com> * Update core/src/impl/Kokkos_Core.cpp Co-authored-by: Damien L-G <dalg24+github@gmail.com> * Changed tune_kokkos_internals -> tune_internals * Format * Added initialization test * Fixed logic as per @crtrott's comments Co-authored-by: Damien L-G <dalg24+github@gmail.com>
Bug was introduced in kokkos#3459 One argument was unitialized causing an heap overflow caught by the adress sanitizer
Bug was introduced in kokkos#3459. One argument was uninitialized which yielded an heap overflow caught by the adress sanitizer.
Bug was introduced in kokkos#3459. One argument was uninitialized which yielded an heap overflow caught by the adress sanitizer.
Bug was introduced in kokkos#3459. One argument was uninitialized which yielded an heap overflow caught by the adress sanitizer.
Implements #3454 .
The tuning functionality is highly experimental. Further, people could want to do tuning, but not want Kokkos to tune itself (or user policies). This PR separates the idea of "the Kokkos Tuning infrastructure exists" from "Kokkos tunes itself," the latter of which is a runtime option. I introduced it as a default-off option, though I'm flexible on that