Repository navigation
Commit 394dd9c
feat(pkg): compat.sycl-runtime 2026.09.07 carries the driver, so a SYCL project need not know CUDA is underneath (#355)
2026.09.06 farms the SYCL runtime and its dlopen chain, and a SYCL artifact
using the CUDA back end still needed `compat:cuda-runtime` declared beside it,
because `libur_adapter_cuda.so.0` reaches `libcuda.so.1` through the artifact's
own search path. That is a true statement about the implementation and a poor
one to put in a user's manifest: which back end the SYCL runtime dlopens is the
runtime's business, not the project's.
2026.09.07 declares `xim:libcuda-host-link` and links the same versioned soname
`compat.cuda-runtime` links -- the same sentinel, the same file, the same
soname, so a program that has both farms on its path loads it once. Only the
versioned name: mcpp puts `runtime.library_dirs` on the LINK line as well, and
an unversioned `libcuda.so` would be found by `-lcuda` and bind the build to
one machine's driver.
Nothing is required of the machine. On one with no NVIDIA driver the sentinel
installs a deliberately dangling link and warns, and the SYCL runtime reports
its CUDA back end unavailable -- which is the correct answer and the one it
would give anyway.
Measured: a consumer declaring `compat:sycl-runtime = "2026.09.07"` and NOTHING
else from compat, with `xim:dpcpp`, `xim:gcc` and `xim:cuda-nvcc` in its
workspace, answers `12 24 36 48` on an RTX 4080.
2026.09.06 is kept and frozen; a consumer already pinning it keeps resolving
and installs the farm it always did.
Co-authored-by: speak-agent <x.d2learn.org@gmail.com>1 parent e17fc88 commit 394dd9c
2 files changed
Lines changed: 48 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
67 | 89 | | |
68 | 90 | | |
69 | 91 | | |
| |||
72 | 94 | | |
73 | 95 | | |
74 | 96 | | |
75 | | - | |
| 97 | + | |
76 | 98 | | |
77 | 99 | | |
78 | 100 | | |
| |||
260 | 282 | | |
261 | 283 | | |
262 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
263 | 308 | | |
264 | 309 | | |
265 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
0 commit comments