Add comment
This commit is contained in:
@@ -300,6 +300,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
|
||||||
PTXBuilder builder;
|
PTXBuilder builder;
|
||||||
auto &trapOp = *builder.create<PTXInstr>("trap");
|
auto &trapOp = *builder.create<PTXInstr>("trap");
|
||||||
trapOp().predicate(condition);
|
trapOp().predicate(condition);
|
||||||
|
Reference in New Issue
Block a user