Skip to content

Commit 7685e96

Browse files
[PIPELINE] Turning pipeliner error into warning, explaining that pipelining is disabled (triton-lang#5867)
1 parent 5a99ff5 commit 7685e96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Dialect/TritonGPU/Transforms/Pipeliner/PipelineExpander.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ bool LoopPipelinerInternal::verifySchedule() {
259259
int64_t producerCycle = it->second;
260260
if (consumerCycle < producerCycle - numCylesPerIter * distance) {
261261
InFlightDiagnostic diag =
262-
consumer->emitError("operation scheduled before its operands");
262+
consumer->emitWarning("operation scheduled before its operands. "
263+
"Pipelining will be disabled.");
263264
diag.attachNote(producer->getLoc())
264265
.append("operand defined here: ")
265266
.appendOp(*producer, OpPrintingFlags().printGenericOpForm());

0 commit comments

Comments
 (0)