Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Jan 4, 2023
1 parent b6518a5 commit 81593fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cinn/hlir/pass/common_subexpression_elimination_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ TEST(common_subexpression_elimination, common_subexpression_elimination_case2) {
runtime_program->Execute();
}

#ifdef CINN_WITH_CUDA
TEST(common_subexpression_elimination, common_subexpression_elimination_case3) {
Placeholder A(Float(32), {1, 3, 224, 224}, "A");
Placeholder B(Float(32), {1, 1, 224, 224}, "B", true);
Expand Down Expand Up @@ -181,6 +182,7 @@ TEST(common_subexpression_elimination, common_subexpression_elimination_case3) {

runtime_program->Execute();
}
#endif

} // namespace frontend
} // namespace cinn

0 comments on commit 81593fb

Please sign in to comment.