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

Can NVBit work with nvprof ? #45

Closed
IceCY opened this issue May 24, 2021 · 5 comments
Closed

Can NVBit work with nvprof ? #45

IceCY opened this issue May 24, 2021 · 5 comments

Comments

@IceCY
Copy link

IceCY commented May 24, 2021

Hello,

I am trying to profile the execution time of the instrumented kernel (by NVbit) with nvprof. However, it seems NVBit callback is not invoked when using nvprof.
Specifically, I use the instr_count tool for instrumenting the kernel and vectoradd for testing. Then executing the following commands:

export LD_PRELOAD=/home/ice/nvbit_release/tools/ice_play/ice_play.so
./vectoradd                 # NVBit callback is invoked 
nvprof ./vectoradd          # NVBit callback is not invoked

Yours,
IceCY

@ovilla
Copy link
Collaborator

ovilla commented May 24, 2021

Unfortunately this is not supported.

NVBit uses the same loading "hooks" of nvprof (and other NVIDIA profiling/debug tools) so it is either one or the other, there is no way around this limitation at the moment.

@IceCY
Copy link
Author

IceCY commented May 25, 2021

Is there any other performance monitor tool that can work with NVBit ?

@ovilla
Copy link
Collaborator

ovilla commented May 25, 2021

No, as far as I know unfortunately.

@IceCY
Copy link
Author

IceCY commented May 26, 2021

Got it. Thanks very much for your response.

One last small question. I found that the cuHook example in Nvidia code sample can work with nvprof. Does it means NVBit and nvprof hook different APIs from cuHook ?

@ovilla
Copy link
Collaborator

ovilla commented Nov 23, 2021

closing issue, nvbit can't work in conjunction with nvprof.

@ovilla ovilla closed this as completed Nov 23, 2021
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