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

Finding source line number (in the host code) for cudaMalloc and similar API calls #109

Open
nayakajay opened this issue Dec 21, 2022 · 0 comments

Comments

@nayakajay
Copy link

We can get memory allocation information of instrumented programs using NVBit.
For example, we can set up call backs for cudaMalloc, using which we can get the memory allocated and the virtual address returned using the cuMemAlloc_v2_params struct.
Can we also get the source information of the allocation, i.e., the line number in the host code (enabled with debug symbols) from where the cudaMalloc (or any other memory allocation API) is called?

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