Open nmustakin opened 1 year ago
Hello, I also have the same need to get PC. Is there any good solution to this problem?
@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.
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.