Add comment

This commit is contained in:
Jokeren
2023-01-05 16:09:03 -05:00
parent 2920f6f50f
commit fcff1a6e75

View File

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