Skip to content

Commit 69a80cc

Browse files
authored
add simplify test (#12)
1 parent 5fced92 commit 69a80cc

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

HalideIR

Submodule HalideIR updated from 98e8df5 to 3278103

tests/cpp/ir_simplify_test.cc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#include <dmlc/logging.h>
2+
#include <gtest/gtest.h>
3+
#include <tvm/tvm.h>
4+
#include <pass/Simplify.h>
5+
6+
TEST(IRSIMPLIFY, Basic) {
7+
using namespace Halide::Internal;
8+
simplify_test();
9+
}
10+
11+
int main(int argc, char ** argv) {
12+
testing::InitGoogleTest(&argc, argv);
13+
testing::FLAGS_gtest_death_test_style = "threadsafe";
14+
return RUN_ALL_TESTS();
15+
}

0 commit comments

Comments
 (0)