Skip to content

Commit 9a9756b

Browse files
author
Varun Sundar Rabindranath
committed
lint
Signed-off-by: Varun Sundar Rabindranath <vsundarr@redhat.com>
1 parent b718232 commit 9a9756b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

csrc/quantization/activation_kernels.cu

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,6 @@ void persistent_masked_m_silu_mul_quant(
639639
// TODO: Get this from cuda_arch ?
640640
static constexpr int SILU_V2_BLOCK_COUNT = 132 * 32;
641641

642-
643642
#define KERNEL(BLOCK_COUNT, scale_t, STRIDE_YS_E, STRIDE_YS_T, STRIDE_YS_G, \
644643
STRIDE_YS_P, CEIL_UE8M0, THREAD_COUNT, STAGES) \
645644
static constexpr int NUM_WARPS = THREAD_COUNT / WARP_SIZE; \
@@ -665,10 +664,10 @@ void persistent_masked_m_silu_mul_quant(
665664

666665
#define LAUNCH_ON_H(scale_t, STRIDE_YS_E, STRIDE_YS_T, STRIDE_YS_G, \
667666
STRIDE_YS_P, CEIL_UE8M0) \
668-
if (H >= 4096 && (NUM_GROUPS % 8) == 0) { \
667+
if (H >= 4096 && (NUM_GROUPS % 8) == 0) { \
669668
/* 8 warp config */ \
670669
static constexpr int NUM_STAGES = 4; \
671-
static constexpr int THREAD_COUNT = 256; \
670+
static constexpr int THREAD_COUNT = 256; \
672671
KERNEL(SILU_V2_BLOCK_COUNT, scale_t, STRIDE_YS_E, STRIDE_YS_T, \
673672
STRIDE_YS_G, STRIDE_YS_P, CEIL_UE8M0, THREAD_COUNT, NUM_STAGES); \
674673
} else { \

0 commit comments

Comments
 (0)