Repository navigation
feat: movmatrix in-register matrix transpose - #268
Closed
honeyspoon wants to merge 4 commits into
Closed
honeyspoon wants to merge 4 commits into
honeyspoon wants to merge 4 commits into
Conversation
Runs rustfmt, clippy, and unit tests on packages that don't need the CUDA toolkit. Triggers on every push to PR branches.
Add quality gates beyond upstream CI to catch maintainer fixup patterns before pushing PRs: - rustdoc: build docs with -D warnings (catches bare bracket links) - cargo-deny: dependency security and license checks - style-checks job with diff-aware checks for: - em-dashes in doc comments (error) - bare brackets in doc comments (warning) - SPDX license headers on new files (error) - unnecessary &mut on pliron type getters (error) - float equality assertions (warning) - useless &vec![...] patterns (warning) All style checks are diff-aware (only flag added lines, not pre-existing upstream code).
ci: enhance fork CI with rustdoc, style checks, and cargo-deny
Implements the movmatrix in-register 8x8 matrix transpose for b16 elements across a warp's register file (PTX movmatrix.sync.aligned.m8n8.trans.b16). New files: - cuda-device/src/wmma.rs: device stub (movmatrix_trans_b16) - dialect-nvvm/src/ops/wmma.rs: MovmatrixTransB16Op (1 operand, 1 result) - mir-importer intrinsics/wmma.rs: MIR import with result mapping - mir-lower intrinsics/wmma.rs: convergent inline PTX lowering Closes #43 Ref #27
Contributor
Author
|
Created on wrong repo by mistake, re-creating on honeyspoon/cuda-oxide fork. |
meefs
pushed a commit
to meefs/cuda-oxide
that referenced
this pull request
Sep 30, 2026
Closes NVIDIA#268 Signed-off-by: Srijan Keshri <[email protected]> Co-authored-by: Melih Elibol <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
movmatrix.sync.aligned.m8n8.trans.b16support across all compiler layers (cuda-device stub, dialect-nvvm op, mir-importer, mir-lower)wmmamodule in each layer for warp-level matrix operationsu32(2 packed b16 elements); the instruction transposes the 8×8 tile distributed across the warp, avoiding a shared-memory round-tripCloses #43
Ref #27
Test plan
cargo check -p cuda-device -p dialect-nvvm -p mir-importer -p mir-lowerpassestest_movmatrix_trans_b16_lowers_to_inline_asmverifies lowering to convergent inline PTX