Skip to content

Commit

Permalink
fixing an error from rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
protonu committed Dec 24, 2024
1 parent 494aea7 commit a3c68a0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions csrc/scheduler/hopper_multi_matmul.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,13 +523,10 @@ void HopperMultipleMatmulScheduler::scheduleEpilogue() {
dc->setMemoryType(MemoryType::Local);
d_smem->setMemoryType(MemoryType::Shared);

// Set LoadStoreOp
// TODO: extend support when mma is not cast to half
NVF_CHECK(
dataTypeSize(dc->dtype()) == 2,
"We support use_smem_epilogue on Hopper only when the output is 16-bit");
auto store_with_stmatrix = dataTypeSize(dc->dtype()) == 2;

if (store_with_stmatrix) {
// Set LoadStoreOp
d_smem->definition()->as<LoadStoreOp>()->setOpType(
LoadStoreOpType::StMatrix);
}
Expand Down

0 comments on commit a3c68a0

Please sign in to comment.