We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 910aeaf commit 83c0c4cCopy full SHA for 83c0c4c
src/meta_schedule/postproc/verify_gpu_code.cc
@@ -31,7 +31,7 @@ class ThreadExtentChecker : private StmtVisitor {
31
ThreadExtentChecker checker(thread_warp_size);
32
checker.VisitStmt(stmt);
33
return true;
34
- } catch (const dmlc::Error& e) {
+ } catch (const std::exception&) {
35
return false;
36
}
37
@@ -188,7 +188,7 @@ class VerifyGPUCodeNode : public PostprocNode {
188
189
IRModule mod = IRModule(Map<GlobalVar, BaseFunc>({{GlobalVar(g_var->name_hint), f}}));
190
lowered = tvm::transform::Sequential(pass_list)(std::move(mod));
191
192
193
194
if (!Verify(lowered)) {
0 commit comments