Commit 0b57b05
committed
fix(core.utils): key helper passes target_type to ProgramOptions.as_bytes
cuda.core's ProgramOptions.as_bytes learned a target_type parameter so
that NVVM compilations can inject -gen-lto for ltoir targets. Forward
target_type from make_program_cache_key so the canonical option bytes
reflect this when available, falling back to the one-argument signature
on older builds.
Part of issue #178.1 parent 8421a22 commit 0b57b05
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
225 | 231 | | |
226 | 232 | | |
227 | 233 | | |
| |||
0 commit comments