Open nayakajay opened 2 years ago
Thanks for reporting this, we never had this issue but we will double check at the first opportunity (not sure when yet).
Same issue here when testing vectorAdd with Unified Memory. I added the code written by @nayakajay above to mem_print tool and compiled with -lineinfo
The dir_name gets "nvbit_at_cuda_event" returned and line_number gets a consistent number. But nvbit_get_line_info
always returns 0.
Same issue here when testing vectorAdd with Unified Memory. I added the code written by @nayakajay above to mem_print tool and compiled with
-lineinfo
The dir_name gets "nvbit_at_cuda_event" returned and line_number gets a consistent number. Butnvbit_get_line_info
always returns 0.
You need to add -lineinfo
when compile vectorAdd instead of the tools.
The original issue is confirmed. But it will take some time to resolve it. Not sure when it will be ready. The fix is unlikely to come in the next release.
I tried the latest version (1.5.5
) and the issue still persists. Will it be fixed in the next or an upcoming release?
----Setup---- GPU - 3090 NVBit - 1.5.3, NVCC: 11.2 Compile flag:
-arch=compute_86 -std=c++11 -lineinfo
I am trying to run ScoR programs (particularly reduction benchmark) using an nvbit tool. On a high level the tool does the following:
Most of the time, the
else
case is getting printed, even when the code is compiled with-lineinfo
. When I am compiling some other program, it takesif
path always. There are also some programs where some instructions took theif
path and someelse
path.I have tried the same tool with a different NvBit version (1.4), on a different GPU (-arch=compute_75), where, I have not observed
else
case getting hit. Am I doing something different?