Skip to content

Commit

Permalink
avoid incomplete matching
Browse files Browse the repository at this point in the history
  • Loading branch information
FMarno committed Jan 7, 2025
1 parent 1751904 commit 0704e1a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions benchmarks/pvc/gemm_configuration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,12 @@ struct GemmConfiguration<
cutlass::gemm::kernel::detail::PersistentTileSchedulerXeStreamKParams::DecompositionMode;
if constexpr (TileScheduler == Scheduler::Parallel) {
return {};
}
else if constexpr (TileScheduler == Scheduler::StreamK) {
} else if constexpr (TileScheduler == Scheduler::StreamK) {
typename GemmKernel::Arguments arguments{};
arguments.scheduler = {1, StreamKMode::StreamK};
return arguments;
}
else if constexpr (TileScheduler == Scheduler::SplitK) {
} else {
static_assert(TileScheduler == Scheduler::SplitK);
typename GemmKernel::Arguments arguments{};
arguments.scheduler = {1, StreamKMode::SplitK};
return arguments;
Expand Down

0 comments on commit 0704e1a

Please sign in to comment.