Skip to content

cuda.core: forward ofast_compile to the NVVM backend once libNVVM supports -Ofast-compile #3206

Open

Description

@Andy-Jost

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):

Asks:

  1. Check whether -Ofast-compile works for bitcode input on 13.4, and whether the textual-IR failure is a regression.
  2. Once libNVVM documents the flag, forward ofast_compile on 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.
  3. If the textual-IR failure is a libNVVM defect, file it against libNVVM and link it here.

Activity

  1. added this to the cuda.core next milestone on Oct 23, 2026
  2. self-assigned this
    on Oct 23, 2026
  3. added
    enhancementAny code-related improvements
    P2Low priority - Nice to have
    cuda.coreEverything related to the cuda.core module
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Low priority - Nice to havecuda.coreEverything related to the cuda.core moduleenhancementAny code-related improvements

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions