Skip to content

Commit

Permalink
Revert comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lezcano committed Oct 22, 2024
1 parent 8617481 commit 5573541
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/triton/Dialect/TritonGPU/IR/LinearLayoutConversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ std::optional<LinearLayout>
toLinearLayout(ArrayRef<int64_t> shape, Attribute layout,
std::optional<int32_t> elemBitWidth = std::nullopt);

// Given a linear layout where the input dimensions contain a "block" dimension,
// this method sets the "block" dimension to 0 and removes the corresponding
// output dimensions.
//
// Note that this behavior differs from calling
// `LinearLayout::sublayout(inDimNames, outDimNames)` when "block" is not in
// `inDimNames`. The latter does not modify the output sizes.
Expand Down

0 comments on commit 5573541

Please sign in to comment.