Repository navigation
chore(deps): bump pliron to master, migrate to TypeHandle API - #277
Merged
Merged
Conversation
Move the pinned pliron rev from af1b7d0 to 8475619 (current pliron-org/pliron master) in both the root workspace and the rustc-codegen-cuda build root, kept in sync so pliron resolves to a single crate and types keep unifying. pliron master replaces the raw `Ptr<TypeObj>` / `TypePtr<T>` type handles with the `TypeHandle` / `TypedHandle<T>` aliases. Update mir-importer, mir-lower, dialect-mir, dialect-nvvm, and llvm-export to the new names and drop the now-unused `Ptr` / `TypeObj` imports.
nihalpasham
added a commit
to honeyspoon/cuda-oxide
that referenced
this pull request
Jun 24, 2026
Rebasing the rz/relu cvt intrinsics onto the post-NVIDIA#277 TypeHandle API surfaced two breaks the stale base hid: - The four new emit_* helpers built their result type with the removed `TypedHandle::to_ptr()`. Switch to `.to_handle()`, matching the sibling emit_cvt_f16x2_f32 on main. - The commit had picked up seven stray `*Bf16x2Op` arithmetic imports (Abs/Add/Sub/Mul/Min/Max/Neg) from an unrelated branch; they are undefined here and unused, so drop them to keep the PR cvt-only.
nihalpasham
added a commit
to honeyspoon/cuda-oxide
that referenced
this pull request
Jun 24, 2026
Rebasing the rz/relu cvt intrinsics onto the post-NVIDIA#277 TypeHandle API surfaced two breaks the stale base hid: - The four new emit_* helpers built their result type with the removed `TypedHandle::to_ptr()`. Switch to `.to_handle()`, matching the sibling emit_cvt_f16x2_f32 on main. - The commit had picked up seven stray `*Bf16x2Op` arithmetic imports (Abs/Add/Sub/Mul/Min/Max/Neg) from an unrelated branch; they are undefined here and unused, so drop them to keep the PR cvt-only.
nihalpasham
added a commit
that referenced
this pull request
Jun 24, 2026
* feat: add packed cvt variants (rz, relu) for f16x2 and bf16x2 Add four packed type-conversion intrinsics completing the f16x2/bf16x2 conversion family alongside the existing cvt.rn variants: - cvt.rz.f16x2.f32 / cvt.rz.bf16x2.f32: round-toward-zero truncation - cvt.rn.relu.f16x2.f32 / cvt.rn.relu.bf16x2.f32: ReLU-fused conversion Lowered to pure inline PTX assembly with AsmKind::Pure, matching the existing cvt_f16x2_f32 pattern. Critical for quantization-aware inference (truncation rounding) and fused activation layers (ReLU). Part of #274 Signed-off-by: abder <[email protected]> * fix(cvt): compile packed cvt variants against TypeHandle main Rebasing the rz/relu cvt intrinsics onto the post-#277 TypeHandle API surfaced two breaks the stale base hid: - The four new emit_* helpers built their result type with the removed `TypedHandle::to_ptr()`. Switch to `.to_handle()`, matching the sibling emit_cvt_f16x2_f32 on main. - The commit had picked up seven stray `*Bf16x2Op` arithmetic imports (Abs/Add/Sub/Mul/Min/Max/Neg) from an unrelated branch; they are undefined here and unused, so drop them to keep the PR cvt-only. --------- Signed-off-by: abder <[email protected]> Co-authored-by: nihalpasham <[email protected]>
meefs
pushed a commit
to meefs/cuda-oxide
that referenced
this pull request
Sep 30, 2026
…der (NVIDIA#277) 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
af1b7d0to8475619(currentpliron-org/plironmaster) in both the root workspace and therustc-codegen-cudabuild root, kept in sync so pliron resolves to a single crate and types keep unifying.Ptr<TypeObj>becomesTypeHandle,TypePtr<T>becomesTypedHandle<T>, and the now-unusedPtr/TypeObjimports are dropped.mir-importer,mir-lower,dialect-mir,dialect-nvvm, andllvm-export. This is a dependency bump plus a mechanical API rename; no codegen/behavior changes.Test plan
cargo fmt --all -- --check(root +rustc-codegen-cuda)cargo clippy --workspace -- -D warnings(+rustc-codegen-cuda --all-targets)cargo test -p <pkg> --all-targetsacross all CI crates +cuda-core --lib(all pass, 0 failures)RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --workspace+cargo test --doc --workspace --exclude cuda-bindingsjust smoketest: 116/116 examples pass (RTX 5090, sm_120)