Improve search for the CUDA include directory
eyalroz opened this issue · comments
At the moment, we do a pretty lazy search for the CUDA include directory - which we add as an include directory to the NVRTC compilation.
We should search for it based on:
- What CMake used when configuring our build.
- Using CUDA_PATH
- Using pkg-config
... plus, support not adding it at all.
So, it's not perfect, but it's good enough for now.
Also, CUDA is not exposed via pkg-config.