Skip to content

Commit

Permalink
move utilty functions to mma_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
rdspring1 committed Dec 10, 2024
1 parent 4b1c5bb commit 20a4b5e
Show file tree
Hide file tree
Showing 7 changed files with 357 additions and 639 deletions.
592 changes: 4 additions & 588 deletions csrc/scheduler/hopper_multi_matmul.cpp

Large diffs are not rendered by default.

14 changes: 0 additions & 14 deletions csrc/scheduler/hopper_multi_matmul.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,20 +178,6 @@ class HopperMultipleMatmulScheduler : public MultipleMatmulScheduler {

void setUpCircularBuffering();

//! Schedules the copy operation of output of a Mma op which resided in the
//! registers to shared memory.
void scheduleStMatrixForMmaOutput(
TensorView* tv,
MmaInputSmemSwizzle swizzle,
int64_t tile_m,
int64_t tile_n);

//! Schedules the copy operation of output of a Mma op which resided in the
//! shared memory to global memory.
void scheduleTMAStoreForMmaOutput(
TensorView* tv,
MmaInputSmemSwizzle swizzle);

// Map TensorView's iterDomain to its ValGroup.
// Then, find the MatmulDimRole for the ValGroup.
// Return MatmulDimRole for IterDomain
Expand Down
Loading

0 comments on commit 20a4b5e

Please sign in to comment.