cuda.core: forward ofast_compile to the NVVM backend once libNVVM supports -Ofast-compile
Los mantenedores suelen responder en 1 día
@Andy-Jost ya está trabajando en esto.
Desde el 23/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Cython
- Estrellas
- 3.4k
- Forks
- 353
- Merge medio
- 2 d 3 h
- PR fusionados (30 d)
- 163
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/cuda-python
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raisesPosiblemente ocupada @Iamsohungrynow la tomó hace 5 días. Abiertobug cuda.core P1
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
NVIDIA/cuda-python#3505 · 3 comentarios · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte countAbiertotriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
NVIDIA/cuda-python#3468 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
NVIDIA/cuda-python#3409 ·
Los mantenedores suelen responder en 1 día
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsQuizá libre de nuevo @rwgk la tomó hace 48 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
NVIDIA/cuda-python#2952 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupPosiblemente ocupada @rwgk la tomó hace 62 días. Abiertotriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
NVIDIA/cuda-python#2646 · 1 reacción ·
Los mantenedores suelen responder en 1 día