-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call subgraph_detector in fusion_group pass.
test=develop
- Loading branch information
Showing
8 changed files
with
116 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
cc_library(code_generator SRCS operation.cc code_generator.cc code_generator_helper.cc DEPS graph) | ||
cc_library(code_generator | ||
SRCS operation.cc code_generator.cc code_generator_helper.cc | ||
DEPS graph subgraph_detector) | ||
if(WITH_GPU) | ||
cc_test(test_code_generator SRCS code_generator_tester.cc DEPS code_generator device_code lod_tensor graph_viz_pass) | ||
endif() | ||
|
||
cc_library(fusion_group_pass | ||
SRCS fusion_group_pass.cc elementwise_group_detector.cc | ||
DEPS graph_pattern_detector pass code_generator device_code) | ||
DEPS subgraph_detector fuse_pass_base code_generator device_code) | ||
cc_test(test_fusion_group_pass SRCS fusion_group_pass_tester.cc DEPS fusion_group_pass graph_viz_pass) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.