Add comment

This commit is contained in:
Jokeren
2023-01-05 16:09:44 -05:00
parent fcff1a6e75
commit 4037f3b921

View File

@@ -301,6 +301,7 @@ struct AssertOpConversion
// MLIR::AssertOp is lowered to a call to llvm.abort, which cannot be // MLIR::AssertOp is lowered to a call to llvm.abort, which cannot be
// handled by ptxas // handled by ptxas
// We should call __assertfail here // We should call __assertfail here
// Delete the definition of triton.assert, using mlir.assert instead
PTXBuilder builder; PTXBuilder builder;
auto &trapOp = *builder.create<PTXInstr>("trap"); auto &trapOp = *builder.create<PTXInstr>("trap");
trapOp().predicate(condition); trapOp().predicate(condition);