Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions cutile-rs/cutile/src/_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4120,9 +4120,7 @@ pub mod core {
/// `y` — the full tensor the host partitioned, not `y`'s declared
/// per-program slab — and `y` must be a mutable output tensor the host
/// passed as a partition (`tensor.partition([..])` at the call site).
/// The launch validator relates `self`'s tile count to the grid derived
/// from `y`'s partition, so an input too small for the grid is rejected
/// at launch.
/// Out-of-bounds regions of `self` are zero-padded.
pub trait LoadTileLike<Y> {
type Out;

Expand Down Expand Up @@ -4245,6 +4243,7 @@ pub mod core {
/// tile-block id. `x` must have the same shape as the whole tensor
/// behind `y` (not `y`'s per-program slab), and `y` must be a mutable
/// output tensor the host passed as a partition — see [`LoadTileLike`].
/// Out-of-bounds regions of `x` are zero-padded.
pub fn load_tile_like<X, Y>(x: &X, y: &Y) -> <X as LoadTileLike<Y>>::Out
where
X: LoadTileLike<Y>,
Expand Down