Skip to content

Commit fcd2be8

Browse files
authored
[backend] NFC: Fix ptx st argument order (intel#4510)
This avoids a `Vector Type not specified properly` warning from ptxas.
1 parent 7d89248 commit fcd2be8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/TargetInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ void TargetInfo::storeDShared(RewriterBase &rewriter, Location loc, Value ptr,
385385
auto st = builder.create<>("st")
386386
->o("shared::cta", ctaId.has_value())
387387
.o("shared", !ctaId.has_value())
388-
.b(elemBitwidth)
389-
.v(vec, /*predicate=*/vec > 1);
388+
.v(vec, /*predicate=*/vec > 1)
389+
.b(elemBitwidth);
390390
auto *ptrOpr = builder.newAddrOperand(ptr, "r");
391391

392392
PTXBuilder::Operand *valOpr;

0 commit comments

Comments
 (0)