Skip to content

Commit

Permalink
[PIR]Support build_cinn_pass in PIR+CINN (PaddlePaddle#57779)
Browse files Browse the repository at this point in the history
* [PIR]Support build_cinn_pass in PIR+CINN

* fix conflict

* fix .gitignore

* polish cmakelists.txt

* fix WITH_CINN

* fix conflict

* fix CmakeLists.txt
  • Loading branch information
Aurelius84 authored Sep 27, 2023
1 parent b1a934c commit ca11326
Show file tree
Hide file tree
Showing 11 changed files with 756 additions and 0 deletions.
7 changes: 7 additions & 0 deletions paddle/fluid/pir/transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ cc_library(
pd_inplace_pass
SRCS inplace_pass.cc
DEPS pd_op_dialect_core op_yaml_info_parser)

if(WITH_CINN)
cc_library(
pd_build_cinn_pass
SRCS build_cinn_pass.cc
DEPS pd_op_dialect cinn_op_dialect pir_control_flow cinnapi)
endif()
Loading

0 comments on commit ca11326

Please sign in to comment.