We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab037d4 commit 1b6689eCopy full SHA for 1b6689e
lib/Dialect/TritonGPU/IR/Dialect.cpp
@@ -299,6 +299,11 @@ SmallVector<unsigned> getOrder(Attribute layout) {
299
}
300
if (auto dotLayout = dyn_cast<DotOperandEncodingAttr>(layout)) {
301
auto rank = getWarpsPerCTA(dotLayout.getParent()).size();
302
+ if (dyn_cast<intel::DpasEncodingAttr>(dotLayout.getParent())) {
303
+ SmallVector<unsigned> order(rank);
304
+ std::iota(order.rbegin(), order.rend(), 0);
305
+ return order;
306
+ }
307
return getOrderForDotOperand(dotLayout.getOpIdx(), rank);
308
309
if (auto sliceLayout = dyn_cast<SliceEncodingAttr>(layout)) {
0 commit comments