NVIDIA / NVIDIA/cuda-python

[FEA] cuda.core: add remaining new NVRTC options to ProgramOptions (CUDA 13.1+)

Aperta
#2,368 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@juenglin ci sta già lavorando.

Dal 24/7/2026.

cuda.core feature
Lingua principale
Cython
Stelle
3.4k
Fork
329
Merge medio
1g 23h
PR unite (30g)
116

Descrizione

Summary

ProgramOptions kept pace with NVRTC 12.9 (ofast_compile, frandom_seed, no_cache are all
present), but not with the 13.x option additions:

Option Documented since Note
--warning-as-error (-Werror) 13.1 promote warnings to errors
--Wreorder 13.1 member-initialization-order warning
--enable-tile, --tile-only, --simt-only, --default-tile, --diagnose-implicit-tile-var 13.3 tile compilation — coordinate with #1322 / #1434 rather than adding blind
--use-bundled-headers=<dir> 13.3 scoped in #2363

New options must be version-gated with actionable errors per the mechanism tracked in #337.

Design sketch (draft — needs design-meeting review)

[!IMPORTANT]
Starting point only, not a settled design — review in the cuda.core design meeting.

  • warning_as_error: bool | str | list[str] (bare -Werror vs. -Werror=<kinds> — check the
    exact accepted forms against the 13.x NVRTC docs during implementation).
  • wreorder: bool.
  • Tile flags: hold until the Program-side Tile IR design (#1322) settles, then add as one
    coherent group.

Open questions for the meeting:

  1. Reject unsupported options at ProgramOptions construction or at compile() (per #337)?
  2. Are the tile flags meaningful without the Tile IR output path, or strictly coupled to #1322?

References

-- Leo's bot

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.