Skip to content

Select PTX ISA features from the requested target architecture #289

Closed

Description

@niklebedenko

Select PTX ISA features from the requested target architecture

Problem

The MIR importer pipeline uses target-machine features for PTX generation. If
the selected PTX ISA feature does not match the requested target architecture,
the generated module can carry the wrong feature level.

Why this matters

Users expect --arch or equivalent target selection to control the PTX ISA
level consistently. A stale or fixed feature selection can produce artifacts
that are incompatible with the requested device target.

Expected behavior

The pipeline should derive the PTX ISA feature from the selected target
architecture and pass that feature to the backend.

Acceptance criteria

  • PTX feature selection follows the requested target architecture.
  • Unsupported or unknown architectures fail clearly instead of silently using an
    unrelated feature.
  • The MIR importer checks successfully with all targets.

Activity

  1. added
    bug
    codegen
    build-related
    on Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbuild-relatedcodegen

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions