Skip to content

Commit

Permalink
add simplify test (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
icemelon authored Jan 13, 2017
1 parent 5fced92 commit 69a80cc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HalideIR
Submodule HalideIR updated from 98e8df to 327810
15 changes: 15 additions & 0 deletions tests/cpp/ir_simplify_test.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include <dmlc/logging.h>
#include <gtest/gtest.h>
#include <tvm/tvm.h>
#include <pass/Simplify.h>

TEST(IRSIMPLIFY, Basic) {
using namespace Halide::Internal;
simplify_test();
}

int main(int argc, char ** argv) {
testing::InitGoogleTest(&argc, argv);
testing::FLAGS_gtest_death_test_style = "threadsafe";
return RUN_ALL_TESTS();
}

0 comments on commit 69a80cc

Please sign in to comment.