Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise an exception when extern function does not return Stmt (#5964)
The function for tvm.te.extern should return either PrimExpr or Stmt, however there is no check if it actually does so. If it does not, the result may be a segmentation fault later on. Catch this case early on, so an informative message can be shown.
- Loading branch information