File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 5
5
rotate_to_pad_comm:: Int = 1
6
6
wrap_comm:: Int = 0
7
7
extend_comm:: Int = 0
8
- dus_to_pad_manual_comp_comm:: Int = 0
8
+ dus_to_pad_manual_comp_comm:: Int = 0 # 2
9
9
dus_to_pad_comm:: Int = 1
10
10
concat_two_operands_comm:: Int = 0
11
11
concat_to_pad_comm:: Int = 1
Original file line number Diff line number Diff line change @@ -683,6 +683,15 @@ function optimization_passes(;
683
683
" concat_multipad" ,
684
684
" concat_concat_to_dus" ,
685
685
" speculate_if_pad_to_select" ,
686
+ " broadcast_iota_simplify" ,
687
+ " select_comp_iota_to_dus" ,
688
+ " compare_cleanup" ,
689
+ " broadcast_compare" ,
690
+ " not_compare" ,
691
+ " broadcast_iota" ,
692
+ " cse_iota" ,
693
+ " compare_iota_const_simplify" ,
694
+ " reshuffle_ands_compares" ,
686
695
# TODO we want to enable but may cause an infinite compile time
687
696
# "concat_to_onedim_dusslice",
688
697
]
@@ -1047,6 +1056,9 @@ function get_optimize_comms_passes(options::Reactant.OptimizeCommunicationOption
1047
1056
" enzyme-hlo-generate-td{patterns=lower_rotate;concat_to_onedim_dus;concat_to_onedim_dusslice;concatreshape_to_onedim_dus}" ,
1048
1057
" transform-interpreter" ,
1049
1058
" enzyme-hlo-remove-transform" ,
1059
+ " enzyme-hlo-generate-td{patterns=reshape_to_broadcast}" ,
1060
+ " transform-interpreter" ,
1061
+ " enzyme-hlo-remove-transform" ,
1050
1062
options_str,
1051
1063
" enzyme-hlo-generate-td{patterns=lower_rotate;lower_wrap;lower_extend}" ,
1052
1064
" transform-interpreter" ,
You can’t perform that action at this time.
0 commit comments