mirror of
https://github.com/deepseek-ai/DeepGEMM
synced 2025-06-26 23:15:49 +00:00
small typo
This commit is contained in:
parent
db1f0b5a1c
commit
dc89674f47
@ -271,7 +271,7 @@ fp8_gemm_kernel(float* scales_b, int* grouped_layout,
|
||||
}
|
||||
};
|
||||
|
||||
if (!scheduler.is_valid_m(math_wg_idx * WGMMA::M, m_block_idx)) {
|
||||
if (!scheduler.is_m_valid(math_wg_idx * WGMMA::M, m_block_idx)) {
|
||||
// Skip useless computation for unaligned Ms
|
||||
launch_k_iterations([&](int k_iter, auto type, auto _) {
|
||||
#pragma unroll
|
||||
|
||||
@ -48,7 +48,7 @@ struct Scheduler {
|
||||
}
|
||||
}
|
||||
|
||||
__device__ __forceinline__ bool is_valid_m(const uint32_t m_offset, const uint32_t& m_block_idx) const {
|
||||
__device__ __forceinline__ bool is_m_valid(const uint32_t m_offset, const uint32_t& m_block_idx) const {
|
||||
if constexpr (kGemmType == GemmType::Normal) {
|
||||
return true;
|
||||
} else if constexpr (kGemmType == GemmType::GroupedContiguous) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user