cuda.core: forward ofast_compile to the NVVM backend once libNVVM supports -Ofast-compile
Mantenedores costumam responder em até 1 dia
@Andy-Jost já está trabalhando nisso.
Desde 23/10/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- Cython
- Estrelas
- 3.4k
- Forks
- 353
- Merge médio
- 2d 3h
- PRs com merge (30d)
- 163
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/cuda-python
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raisesTalvez já em andamento @Iamsohungrynow assumiu há 5 dias. Abertabug cuda.core P1
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 86/100
NVIDIA/cuda-python#3505 · 3 comentários · 1 reação · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte countAbertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
NVIDIA/cuda-python#3468 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
NVIDIA/cuda-python#3409 ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsTalvez livre de novo @rwgk assumiu há 48 dias e não há nenhum pull request aberto. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
NVIDIA/cuda-python#2952 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupTalvez já em andamento @rwgk assumiu há 62 dias. Abertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
NVIDIA/cuda-python#2646 · 1 reação ·
Mantenedores costumam responder em até 1 dia