Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#40 from zyfncg/drr_pass
Browse files Browse the repository at this point in the history
Fix bug of link pir
  • Loading branch information
yuanlehome authored Oct 13, 2023
2 parents 4bac4b1 + 77e8138 commit 7422169
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion paddle/fluid/pir/drr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ add_custom_command(
cc_library(
drr
SRCS ${DRR_SRCS} ${op_creator_file}
DEPS pd_op_dialect pir)
DEPS pd_op_dialect pir_pattern_rewrite pir_pass)
10 changes: 5 additions & 5 deletions test/cpp/pir/pattern_rewrite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ endif()
cc_test_old(pattern_rewrite_test SRCS pattern_rewrite_test.cc DEPS
${PATTERN_REWRITE_TEST_DEPS})

cc_test_old(drr_test SRCS drr_test.cc DEPS gtest drr)
cc_test_old(drr_fuse_linear_test SRCS drr_fuse_linear_test.cc DEPS gtest drr)
cc_test_old(drr_same_type_binding_test SRCS drr_same_type_binding_test.cc DEPS
gtest drr)
paddle_test(drr_test SRCS drr_test.cc DEPS drr)
paddle_test(drr_fuse_linear_test SRCS drr_fuse_linear_test.cc DEPS drr)
paddle_test(drr_same_type_binding_test SRCS drr_same_type_binding_test.cc DEPS
drr)

cc_test_old(drr_attention_fuse_test SRCS drr_attention_fuse_test.cc DEPS
paddle_test(drr_attention_fuse_test SRCS drr_attention_fuse_test.cc DEPS
${PATTERN_REWRITE_TEST_DEPS} drr)

set_tests_properties(
Expand Down

0 comments on commit 7422169

Please sign in to comment.