Skip to content
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

Documentation for writing a Kokkos connector? #92

Closed
tpatki opened this issue Jun 16, 2020 · 5 comments
Closed

Documentation for writing a Kokkos connector? #92

tpatki opened this issue Jun 16, 2020 · 5 comments

Comments

@tpatki
Copy link

tpatki commented Jun 16, 2020

@DavidPoliakoff

@zfrye-llnl and I are thinking of writing a Variorum connector for Kokkos (https://github.com/LLNL/variorum). Is there any documentation on how to write one (or which functions: initialize/finalize, push/pop, begin/end_parallel_for are mandatory)?

@DavidPoliakoff
Copy link
Contributor

@tpatki
Unfortunately, there's not great formal documentation on that, which I'll of course make a note of. Typical practice is to copy/paste something existing. As to what's required, only init and finalize are required. The full set of options is available here https://github.com/kokkos/kokkos-tools/wiki/Profiling-Hooks . I'm so happy you're taking a look at this, I'm excited to play with Variorum

@DavidPoliakoff
Copy link
Contributor

@zfrye-llnl : sorry that I missed you in the last message. You might also want to check out kokkos/kokkos#2422 , in which we're adding an autotuning extension to this interface. If it's feasible it might be interesting to develop a tool to minimize power without hurting performance, or things of that general flavor of optimization. That stuff is utterly undocumented for the moment, so we'd need to collaborate, but I'd be happy to look at it with the two of you.

@vlkale
Copy link
Contributor

vlkale commented Feb 1, 2023

I would like to promote this github issue up as a priority for documentation of Kokkos Tools (using the new restructuredText format).

Documentation of a Kokkos connector will be helpful for the ever-increasing vendor and open-source HPC tools available. In particular, this will be useful for autotuning tools available within the DoE along with new profiling and debugging tools available (in the last year) on leadership class supercomputers within the DoE.

@vlkale
Copy link
Contributor

vlkale commented May 13, 2024

Now part of the Kokkos Tools tutorial.

@vlkale vlkale closed this as completed May 13, 2024
@vlkale vlkale reopened this May 13, 2024
@vlkale
Copy link
Contributor

vlkale commented May 13, 2024

See the NERSC 2024 tutorial presentation on Kokkos to see the documentation / slides. I think the slides adequately provide information.

If there is any other information anyone would like on documentation writing a Kokkos Tools connector, please feel free to request to reopen.

Note this is an advanced topic and wouldn't be part of basic Kokkos Tools user documentation, which is a priority.

@vlkale vlkale closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants