Skip to content

docs(cutile): LoadTileLike zero-pads undersized inputs - #1644

Open
mangeshraut712 wants to merge 1 commit into
NVIDIA:mainfrom
mangeshraut712:fix/load-tile-like-doc-1523
Open

mangeshraut712 wants to merge 1 commit into
NVIDIA:mainfrom
mangeshraut712:fix/load-tile-like-doc-1523

Conversation

@mangeshraut712

Copy link
Copy Markdown

Summary

Fixes #1523

LoadTileLike / load_like rustdoc said an input too small for the grid derived from y is rejected at launch. The implementations all call make_partition_view(..., padding::Zero, ...), so out-of-bounds regions are zero-padded instead.

Update the trait and free-function docs to match that behavior. The rest of the contract (same shape as the whole tensor behind y, y a host partition) is unchanged.

Test plan

  • Doc-only change; cargo fmt --check -p cutile passed in cutile-rs/.
  • Reviewer: confirm wording matches intended semantics for undersized x.

Signed-off-by: Mangesh Raut <mbr63@drexel.edu>
@copy-pr-bot

copy-pr-bot Bot commented Oct 25, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: The doc of trait LoadTileLike is incorrect

1 participant