Skip to content
Snippets Groups Projects
Commit 0a392dd0 authored by Qiao Zhang's avatar Qiao Zhang
Browse files

Adds cpp test for Halide IR cse pass.

parent d903342b
No related branches found
No related tags found
No related merge requests found
#include <dmlc/logging.h>
#include <gtest/gtest.h>
#include <tvm/tvm.h>
#include <pass/CSE.h>
TEST(IR_PASS, CSE) {
using namespace Halide::Internal;
cse_test();
}
int main(int argc, char ** argv) {
testing::InitGoogleTest(&argc, argv);
testing::FLAGS_gtest_death_test_style = "threadsafe";
return RUN_ALL_TESTS();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment