Add centralized documentation for third-party connector libraries#313
Draft
Add centralized documentation for third-party connector libraries#313
Conversation
Co-authored-by: vlkale <11766050+vlkale@users.noreply.github.com>
Co-authored-by: vlkale <11766050+vlkale@users.noreply.github.com>
Co-authored-by: vlkale <11766050+vlkale@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add user documentation for Kokkos Tools TPL connectors
Add centralized documentation for third-party connector libraries
Feb 13, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third-party connector libraries (ScoreP, Timemory, Caliper) lacked centralized documentation in the repository. External maintainers had no clear path to contribute documentation for their connectors.
Changes
Documentation Structure
docs/directory following kokkos-kernels patterndocs/README.md- Index with contribution guidelinesdocs/connectors/TEMPLATE.md- Template for external maintainersConnector Documentation
Main README Updates
docs/Each connector doc includes: overview, installation, configuration, usage examples, and links to official documentation. Template provides structure for future connector maintainers to follow.
Original prompt
This section details on the original issue you should resolve
<issue_title>User Documentation of Kokkos Tools TPL Connectors</issue_title>
<issue_description>This issue aims to lay groundwork on the centralized documentation of Kokkos Tools vendor aTPL connectors, i.e., advanced TPL connectors.
Documentation of aTPLs is different from the documentation for basic Kokkos Tools in-house tooling libraries that are being documented. These are well-established external libaries that are maintained by third parties developing their own connectors. They don't operate on Kokkos project timelines. They do need an centralized/common location to come to for providing users information on how to use their tooling library within the Kokkos ecosystem.
Of immediate importance: ScoreP needs to be part a third-party library subsection in the Wiki, alongside timemory, given its importance of profiling+tracing in HPC. Though it is not in the category of so-called 'sophisticated tools' with intelligent analysis and/or tuning, e.g., Apex, it does provide advanced capabilities needed for tracing from a third-party library. It is also not as heavily used as nvtx-connector. It doesn't need to be in the top-level README.md of Kokkos Tools. At the same time, there are a number of Kokkos users using it.
In time, this documentation could propagate up the Kokkos Tools Wiki and the kokkos.org webpage, perhaps as a blog post or within tools documentation itself.
</issue_description>
Comments on the Issue (you are @copilot in this section)
@vlkale I have put the Wiki page for ScoreP here: https://github.com/kokkos/kokkos-tools/wiki/ScorePThe page contains a starter description of the tool connector and links to pertinent documentation.\
@wrwilliams Are you able to pull and push to this repository to make changes?
We will probably want to integrate scoreP Kokkos Tools library into the Kokkos Tools repository in some form, either as a git submodule or simply redirecting users to download the scoreP Kokkos Tools library from the scoreP GitHub repo. </comment_new>
<comment_new>@masterleinad
You should still be able to open pull requests, though.</comment_new>
<comment_new>@vlkale
@wrwilliams
Yes, as @masterleinad suggested, you can open a PR to the wiki page for ScoreP here:
https://github.com/kokkos/kokkos-tools/wiki/ScoreP
It will be reviewed and merged once it's there.
It would be useful to get some content on that page in the next month or so if possible. It will help to have a common ground / go-to guide on building and running with ScoreP Kokkos Tool for Kokkos programmers. Let me know if I can help with writing.
See https://github.com/kokkos/kokkos-tools/wiki/Timemory as a reference.
@vlkale > Actually I cannot presently open a PR, as the wiki repo is not accessible to non-collaborators. > > > > https://github.com/kokkos/kokkos-tools.wiki.git leads to the GitHub 404 page for me, and the wiki pages are not visible in the Kokkos-tools repo either here or on my fork.Thanks for bringing this up - this should be fixed, especially given the number of external Kokkos Tools connector libraries like the ScoreP Kokkos Tools connector.
I will look into this and get back to you next week.
@crtrott @dalg24
Does it make sense to create a new Team in the Kokkos project called something like 'Kokkos Tools connector developers'?
@vlkale @wrwilliams To follow-up, I don't have an easy solution for the moment on the wiki. However, you do have the ability to create a PR to the Kokkos Tools repo.Perhaps you can also put documentation in a README.md in a scoreP folder for your specific documentation, similar to what was done for the caliper connector.
I think a non-urgent but important action item that follows from this is for me/us to create a git submodule for the Kokkos Tools ScoreP connector, and also potentially allow building it via a new Spack package for Kokkos Tools that has already been started (just today) here: https://github.com/spack/spack/pull/45382/files .
As for this github issue, I have put up the basic documentation here https://github.com/kokkos/kokkos-tools/wiki/ScoreP and have mentioned documentation for the Kokkos Tools ScoreP connector on your webpage. I will close this github issue.
@dalg24 What prevents you to create a docs/ directory and document in a markdown file? @vlkale > What prevents you to create a docs/ directory and document in a markdown file?This is a good idea, and it could complement or replace having a README.md file per tool library mentioned above.
The reason for not creating...
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.