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

Getting PC from NVBit #110

Open
nmustakin opened this issue Dec 21, 2022 · 2 comments
Open

Getting PC from NVBit #110

nmustakin opened this issue Dec 21, 2022 · 2 comments

Comments

@nmustakin
Copy link

Is there a way to get PTX PC from NVBit? For our purposes, we are trying to match each memory reference instruction (loads and stores) to a corresponding load/store instruction in NVVM IR. Since SASS output is loop unrolled, it becomes complicated to do so without knowing the program counter.

@joannahuadu
Copy link

Hello, I also have the same need to get PC. Is there any good solution to this problem?

@nmustakin
Copy link
Author

@joannahuadu I did not find any way to get the PTX PC, but nvbit_get_line_info() gives you the CUDA line number if that helps.

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

2 participants