Skip to content

Add device regression probes for the newly supported Rust codegen paths #142

Open

Description

@feitreim

Why now

The cuda-oxide range b099f64..20a5616 adds or fixes several Rust/MIR paths that are useful to kernel code but currently have no ferro-kittens-owned regression:

The upgrade passed the existing 41-case B200 harness, but that only says current code avoids these paths.

Scope

Add small probes only for language features we intend library/example code to use:

  1. An as_chunks::<N>() device case with position-sensitive output, proving chunk boundaries and exact_div lowering.
  2. A static table/subslice case that exercises a nonzero pointer addend and address-space preservation.
  3. A scalar float constant case covering at least one nontrivial bit pattern.
  4. Add SwitchInt/undef probes only if a real library refactor starts depending on them; otherwise rely on upstream tests.

Keep each probe tiny and independently named in the harness. The goal is to make future pin upgrades fail at the feature boundary, not mirror cuda-oxide's complete compiler suite.

Done when

The selected probes pass on B200, codegen under sm_100a, and document which ferro-kittens API or planned refactor needs each path.

Activity

  1. added
    infra
    gpu-ci
    on Jul 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

    gpu-ciinfra

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions