cuda.core: forward ofast_compile to the NVVM backend once libNVVM supports -Ofast-compile
維護者通常 1 天內回覆
@Andy-Jost 已經在處理了。
開始於 2026年10月23日。
評估
這個 Issue 還沒有評估資料。
描述
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.
- 主要語言
- Cython
- 星號
- 3.4k
- 分支
- 353
- 平均合併
- 2 天 3 小時
- 30 天內合併 PR
- 163
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NVIDIA/cuda-python 的其他 Issue
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raises可能已有人在做 @Iamsohungrynow 於 5 天前認領。 未關閉bug cuda.core P1
難度 1/5 1 小時以內 新手友好度 86/100
NVIDIA/cuda-python#3505 · 3 則留言 · 1 個 reaction · 已指派 1 人 ·
維護者通常 1 天內回覆
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte count未關閉triage
難度 2/5 1-3 小時 新手友好度 80/100
NVIDIA/cuda-python#3468 · 3 則留言 ·
維護者通常 1 天內回覆
-
triage
難度 2/5 1-3 小時 新手友好度 68/100
NVIDIA/cuda-python#3409 ·
維護者通常 1 天內回覆
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRs可能重新可做 @rwgk 於 48 天前認領,目前沒有進行中的 PR。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
NVIDIA/cuda-python#2952 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookup可能已有人在做 @rwgk 於 62 天前認領。 未關閉triage
難度 2/5 1-3 小時 新手友好度 82/100
NVIDIA/cuda-python#2646 · 1 個 reaction ·
維護者通常 1 天內回覆