CMakeLists.txt 810 字节
Newer Older
1 2
cc_library(ir_graph_build_pass SRCS ir_graph_build_pass.cc DEPS analysis_pass argument ir_pass_manager)
cc_library(ir_analysis_pass SRCS ir_analysis_pass.cc DEPS analysis_pass argument ir_pass_manager)
Y
Yan Chunwei 已提交
3
cc_library(memory_optim_pass SRCS memory_optimize_pass.cc DEPS analysis_pass)
N
nhzlx 已提交
4
cc_library(ir_params_sync_among_devices_pass SRCS ir_params_sync_among_devices_pass.cc DEPS analysis_pass argument ir_pass_manager)
Y
Yan Chunwei 已提交
5 6 7 8 9 10 11 12 13
cc_library(ir_graph_to_program_pass SRCS ir_graph_to_program_pass.cc DEPS analysis_pass graph_to_program_pass)

cc_library(analysis_passes SRCS passes.cc DEPS
  ir_graph_build_pass
  ir_analysis_pass
  ir_params_sync_among_devices_pass
  memory_optim_pass
  ir_graph_to_program_pass
)
14 15 16

set(analysis_deps ${analysis_deps}
        analysis_passes
T
tensor-tang 已提交
17
        subgraph_detector
18
        CACHE INTERNAL "")