Skip to content

Conversation

dcbaker
Copy link
Member

@dcbaker dcbaker commented Oct 20, 2025

No description provided.

@dcbaker
Copy link
Member Author

dcbaker commented Oct 20, 2025

@karolherbst: Could you see if this works for you? I don't have a way to really test Cuda stuff

@karolherbst
Copy link
Contributor

@dcbaker

Could not read CUDA Toolkit's version file /usr/local/cuda-12.2/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda-12.2/version.txt'
Falling back to extracting version from path
Could not read CUDA Toolkit's version file /usr/local/cuda-12.4/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda-12.4/version.txt'
Falling back to extracting version from path
Could not read CUDA Toolkit's version file /usr/local/cuda-12.6/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda-12.6/version.txt'
Falling back to extracting version from path
Could not read CUDA Toolkit's version file /usr/local/cuda-12.9/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda-12.9/version.txt'
Could not read CUDA Toolkit's version file /usr/local/cuda-12.8/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda-12.8/version.txt'
Falling back to extracting version from path
Could not read CUDA Toolkit's version file /usr/local/cuda/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda/version.txt'
Could not read CUDA Toolkit's version file /usr/local/cuda-12/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda-12/version.txt'
Could not read CUDA Toolkit's version file /usr/local/cuda-13.0/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda-13.0/version.txt'
Could not read CUDA Toolkit's version file /usr/local/cuda-13/version.txt: [Errno 2] No such file or directory: '/usr/local/cuda-13/version.txt'
Search paths: [('/usr/local/cuda', '13.0', True), ('/usr/local/cuda-13.0', '13.0', False), ('/usr/local/cuda-13', '13.0', False), ('/usr/local/cuda-12.9', '12.9', False), ('/usr/local/cuda-12', '12.9', False), ('/usr/local/cuda-12.8', '12.8', False), ('/usr/local/cuda-12.6', '12.6', False), ('/usr/local/cuda-12.4', '12.4', False), ('/usr/local/cuda-12.2', '12.2', False)]
CUDA library directory is /usr/local/cuda/targets/x86_64-linux/lib
Link args for CUDA module 'cuda' are ['/usr/local/cuda/targets/x86_64-linux/lib/stubs/libcuda.so']
Dependency lookup for cuda with method 'system' failed: Couldn't find requested CUDA module 'cudart_none'
Run-time dependency CUDA found: NO 

../meson.build:1596:16: ERROR: Dependency lookup for cuda with method 'system' failed: Couldn't find requested CUDA module 'cudart_none'

@eli-schwartz
Copy link
Member

/cc @SoapGentoo @obilaniu @MaxandreOgeret for general interest in cuda support. Thoughts?

@MaxandreOgeret
Copy link
Contributor

lgtm its useful too

@@ -0,0 +1,4 @@
## Cuda dependency with cudart_none

The Cuda dependency can no be initialize as `dependency('cuda', modules : ['cudart_none'])`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: no -> now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants