Commit 404589e
authored
fix(supraseal): add Turing (sm_75) back to CUDA architectures (#1038)
When CUDA 13 support was added, Volta (sm_70) was correctly removed as
CUDA 13 dropped it. However, Turing (sm_75) was also removed even though
CUDA 13 still supports it.
This causes a segfault on `./curio --version` when built on machines with
Turing GPUs (GTX 1650/1660, RTX 2060-2080, Tesla T4). The CUDA kernels
in pc2.cu are compiled only for sm_80+, and the CUDA runtime crashes
during binary initialization when no compatible kernel is found for sm_75.
Binaries built on Ampere+ machines work fine because the embedded kernels
match. But building locally on a Turing machine produces a broken binary.
Adds -gencode arch=compute_75,code=sm_75 back to CUDA_ARCH.1 parent 5171e6d commit 404589e
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
183 | 185 | | |
184 | | - | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
0 commit comments