You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cp.reduce.async.bulk.tensor family: imported.json carries all 64 records, none are generated into cuda-device #660
The cp.async.bulk.tensor reduction family (cp.reduce.async.bulk.tensor.*) is fully present in intrinsics/imported.json — all 64 records, spelled int_nvvm_cp_async_bulk_tensor_reduce_{add,and,dec,inc,max,min,or,xor}_{tile,im2col}_{1..5}d — but none of them are admitted to the generated cuda-device crate. The plain copy family (cp_async_bulk_tensor_{1..5}d_{g2s,s2g}, multicast forms included) is generated completely, and its catalog_id entries appear in intrinsics/abi-v1.toml; the reduce records appear in neither abi-v1.toml nor intrinsics/overlay.toml, so as far as we can tell the omission is a generation/admission-list gap rather than a deliberate exclusion. Checked at 20a5616 (and the records were already present at b099f64).
Why it matters
Reduction stores (.add especially) are what make split-K GEMMs and multi-CTA reduction epilogues cheap on sm_90+/sm_100: each CTA accumulates its tile into global memory through the TMA engine without reading the destination or running a separate reduction pass. ThunderKittens exposes them as store_add_async/store_min_async/store_max_async; we (ferro-kittens, downstream of cuda-oxide) just shipped a GEMM accumulate epilogue that needed cp.reduce.async.bulk.tensor.2d.global.shared::cta.add.tile.bulk_group and had to route around the gap with inline PTX (feitreim/ferro-kittens#42, feitreim/ferro-kittens#187).
The instruction lowers fine when written as inline PTX against the current crate — verified on a B200 (sm_100a) with an exact-integer add-twice test — so admission plus the usual generated wrapper shape (mirroring cp_async_bulk_tensor_2d_s2g: src: *const u8, tensor_map: *const TmaDescriptor, coordinates; completion via the existing cp_async_bulk_commit_group/wait_group surface) appears to be all that is missing. The element type is carried by the tensor map, so no per-dtype variants are needed.
Ask
Admit the cp_async_bulk_tensor_reduce_* records (or at minimum the .add tile forms at ranks 1–5) to the generated cuda-device catalog. Happy to provide the working PTX spellings and the device test we gate ours with if useful.
Activity