Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rdspring1 committed Dec 1, 2024
1 parent a265617 commit e7ffb29
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/dev/python_scheduling/autotune_inner_reduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,21 @@ class FUSION(Enum):

@dataclass(unsafe_hash=True)
class InnerReductionConfiguration:
# The vectorization factor for inner reduction domain.
vectorize_factor: int = 1
# The unroll factor for the outer iteration domain.
unroll_factor: int = 1
# The grid size for the outer iteration domain.
# If grdim > 1, then godim corresponds with y axis of the grid.
# Otherwise, it is the x axis of the grid.
godim: int = -1
# The grid size for the inner reduction domain. It corresponds
# with x axis of the grid when it is >1.
grdim: int = -1
# The x axis of CTA. It corresponds with inner reduction domain.
bdimx: int = -1
# The y axis of CTA. It corresponds with outer reduction domain.
# If it is non-zero, then there are multiple reduction per CTA.
bdimy: int = -1

def __init__(self, selected_fusion):
Expand Down

0 comments on commit e7ffb29

Please sign in to comment.