Skip to content

Commit c215b6f

Browse files
authored
Fix warnings for the NAX build (#2921)
1 parent 3cc9f50 commit c215b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlx/backend/metal/kernels/fp_quantized_nax.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,11 @@ METAL_FUNC void fp_qmm_n_impl(
375375
static_assert(BK % SIMD_SIZE == 0, "BK should be divisible by SIMD_SIZE");
376376

377377
(void)lid;
378+
(void)M;
378379

379380
constexpr int pack_factor = get_pack_factor<8>();
380381
constexpr int bytes_per_pack = get_bytes_per_pack();
381382

382-
constexpr int BK_padded = (BK + 16 / sizeof(T));
383383
constexpr int BN_padded = (BN + 16 / sizeof(T));
384384

385385
using loader_w_t = QuantizedBlockLoader<

0 commit comments

Comments
 (0)