Commit 2cc9161
committed
fix: add /usr/local/cuda fallback for CTK header discovery
When `CUDA_PATH`/`CUDA_HOME` are unset, fall back to `/usr/local/cuda`
on non-Windows platforms. Aligns with CuPy's `get_cuda_path()` behavior
and fixes CuPy header detection in containers (e.g. Holoscan).
Ref: PR #9561 parent 7832aaf commit 2cc9161
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| |||
0 commit comments