Skip to content

Commit

Permalink
Enable use of scheduling pass along with amd pipelining
Browse files Browse the repository at this point in the history
  • Loading branch information
Ognjen Plavsic committed Mar 25, 2024
1 parent c6d04b2 commit 66214bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/triton/compiler/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def optimize_ttgir(mod, num_stages, num_warps, num_ctas, target, cluster_info, e
pm.add_tritongpu_remove_layout_conversions_pass()
pm.add_tritongpu_decompose_conversions_pass()
pm.add_tritongpu_ws_fixup_missing_attrs_pass()
if is_hip() and num_stages != 0:
if is_hip():
pm.add_tritonamdgpu_reorder_instructions_pass()
else:
pm.add_tritongpu_reorder_instructions_pass()
Expand Down

0 comments on commit 66214bd

Please sign in to comment.