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

How to write an injection library? #104

Open
martin-belanger opened this issue Sep 25, 2024 · 0 comments
Open

How to write an injection library? #104

martin-belanger opened this issue Sep 25, 2024 · 0 comments

Comments

@martin-belanger
Copy link

Nvidia provides a lot of documentation on how to instrument code with NVTX. However, I have not seen any documentation (or examples) about writing a library to collect the data generated. I know that I could use nsys profile to look at the collected data. However, I would like to just collect specific data (ranges) and save it to a text file.

To be precise, I'm trying to collect statistics from NCCL (especially the type and size of data being processed). I know that NCCL is already instrumented with NVTX. And I would like to write a plugin for NCCL that can collect specific data. However, I have no idea what APIs need to be provided by the plugin and could not find any documentation about it.

Is there documentation or code examples that does that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant