Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions include/triton/Dialect/TritonGPU/IR/Dialect.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ getThreadsPerWarpWithUniqueData(Attribute layout,
SmallVector<unsigned>
getWarpsPerCTAWithUniqueData(Attribute layout, ArrayRef<int64_t> tensorShape);

SmallVector<unsigned> getThreadsPerCTA(Attribute layout);

SmallVector<unsigned> getOrder(Attribute layout);

CTALayoutAttr getCTALayout(Attribute layout);
Expand Down
6 changes: 2 additions & 4 deletions lib/Analysis/Utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,8 @@ bool ReduceOpHelper::isSupportedLayout() {
if (srcLayout.isa<triton::gpu::BlockedEncodingAttr>()) {
return true;
}
if (auto mmaLayout = srcLayout.dyn_cast<triton::gpu::MmaEncodingAttr>()) {
if (mmaLayout.isAmpere() || mmaLayout.isHopper()) {
return true;
}
if (auto mmaLayout = srcLayout.dyn_cast<triton::gpu::MmaEncodingTrait>()) {
return mmaLayout.supportReduction();
}
if (auto sliceLayout = srcLayout.dyn_cast<triton::gpu::SliceEncodingAttr>()) {
return true;
Expand Down
Loading