cuda.core: forward ofast_compile to the NVVM backend once libNVVM supports -Ofast-compile
Les mainteneurs répondent en général sous 1 jour
@Andy-Jost y travaille déjà.
Depuis le 23/10/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
Follow-up to #2954, which rejects ofast_compile on the NVVM backend together with the other NVRTC-only options. This issue tracks forwarding it instead, once libNVVM supports the flag.
What is known (2026-10-23):
- The libNVVM API documentation lists no
-Ofast-compileoption. - On libNVVM from CUDA 13.4 (
nvvm.version()2.0, IR 2.0.3.2), compiling the textual IR from #2954 with-Ofast-compile=0succeeds;=min,=mid, and=maxreturnNVVM_ERROR_COMPILATIONwith the log "parse Can't read textual IR with a Context that discards named Values";=bogusreturnsNVVM_ERROR_INVALID_OPTIONwith "only supports 0, min, mid, or max". So the library knows the flag, and the failure is in the textual-IR parse path. - A report in #2954 on CUDA 13.2 (Thor) had all four levels accepted, for textual IR and for bitcode.
Asks:
- Check whether
-Ofast-compileworks for bitcode input on 13.4, and whether the textual-IR failure is a regression. - Once libNVVM documents the flag, forward
ofast_compileon NVVM under the same gate as NVRTC (is not None), for the inputs where it works. Replacing today's rejection with a pass-through is not a breaking change. - If the textual-IR failure is a libNVVM defect, file it against libNVVM and link it here.
- Langage dominant
- Cython
- Étoiles
- 3.4k
- Forks
- 353
- Merge moyen
- 2 j 3 h
- PR mergées (30 j)
- 163
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de NVIDIA/cuda-python
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raisesPeut-être pris @Iamsohungrynow l’a pris il y a 5 jours. Ouvertebug cuda.core P1
Difficulté 1/5 Moins d'une heure Accessibilité débutants 86/100
NVIDIA/cuda-python#3505 · 3 commentaires · 1 réaction · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte countOuvertetriage
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
NVIDIA/cuda-python#3468 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
triage
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
NVIDIA/cuda-python#3409 ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsPeut-être à nouveau libre @rwgk l’a pris il y a 48 jours, et aucune pull request n’est ouverte. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
NVIDIA/cuda-python#2952 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupPeut-être pris @rwgk l’a pris il y a 62 jours. Ouvertetriage
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
NVIDIA/cuda-python#2646 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour