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

CUPTI symbols are undefined after libkineto build #876

Open
kvignesh1420 opened this issue Feb 22, 2024 · 1 comment
Open

CUPTI symbols are undefined after libkineto build #876

kvignesh1420 opened this issue Feb 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kvignesh1420
Copy link

kvignesh1420 commented Feb 22, 2024

Hi, I have followed the documentation here and built libkineto. However, the sample programs build.sh throws an error as follows:

/usr/bin/ld: /usr/local/lib/libkineto.a(init.cpp.o): in function `libkineto_init':
init.cpp:(.text+0x3f2a): undefined reference to `cuptiGetResultString'
/usr/bin/ld: /usr/local/lib/libkineto.a(CuptiCallbackApi.cpp.o): in function `libkineto::CuptiCallbackApi::initCallbackApi()':
CuptiCallbackApi.cpp:(.text+0x2f8d): undefined reference to `cuptiSubscribe'
/usr/bin/ld: /usr/local/lib/libkineto.a(CuptiCallbackApi.cpp.o): in function `libkineto::CuptiCallbackApi::reenableCallbacks()':
CuptiCallbackApi.cpp:(.text+0x36b0): undefined reference to `cuptiEnableCallback'
/usr/bin/ld: CuptiCallbackApi.cpp:(.text+0x36e1): undefined reference to `cuptiEnableDomain'

Additioanlly, there is a TODO in the CI actions which seems relevant.

Am I missing any step which properly links these symbols? Please let me know. Happy to contribute a fix for this.

@aaronenyeshi
Copy link
Member

There is a bug in the Github CI actions. Please feel free to contribute a fix for this, thank you!

@aaronenyeshi aaronenyeshi added the bug Something isn't working label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants