[C++] Cannot enable CUDA on Ubuntu 22.04 with conda + system packages
Open
Component: C++
Component: GPU
Type: bug
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the bug, including details regarding any error messages, version, and platform.
Because of https://gitlab.kitware.com/cmake/cmake/-/issues/25127 , it is difficult or impossible to enable CUDA with Ubuntu 22.04 and the system package for the CUDA toolkit.
However, since we only seem to use `libcuda.so` and `cuda.h` (which is a standalone include file), perhaps we don't need to rely on CMake's `FindCUDAToolkit` at all.
### Component(s)
C++, GPU
Contributor guide
Assessment
This issue has not been assessed yet.