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

Unable to find CUPTI module in CUDA runfile installation #13241

Open
blue42u opened this issue May 21, 2024 · 0 comments
Open

Unable to find CUPTI module in CUDA runfile installation #13241

blue42u opened this issue May 21, 2024 · 0 comments

Comments

@blue42u
Copy link
Contributor

blue42u commented May 21, 2024

Describe the bug
If the CUDA installation was installed via a runfile (CUDA docs), Meson's CUDA dependency is unable to find the CUPTI module.

To Reproduce

# meson.build
project('test', 'c')
dependency('CUDA', modules: ['cupti'])
$ meson setup /tmp/build
...
Run-time dependency CUDA found: NO 

meson.build:2:0: ERROR: Dependency lookup for CUDA with method 'system' failed: Couldn't find requested CUDA module 'cupti'

Expected behavior
Meson should find the libcupti.so in $CUDA_PATH/extras/CUPTI/lib64/ and return that as part of the dependency object.

system parameters

  • Native build
  • Ubuntu 24.04
  • Python 3.12.3
  • Meson 1.4.0
  • Ninja 1.11.1.git.kitware.jobserver-1
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

1 participant