Skip to content

Commit 4530916

Browse files
committed
metal : remove unused constants
1 parent fe8b22e commit 4530916

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ggml/src/ggml-metal/ggml-metal.metal

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8149,17 +8149,6 @@ kernel void kernel_set_rows_f(
81498149
constant bool FC_mul_mm_bc_inp [[function_constant(FC_MUL_MM + 0)]];
81508150
constant bool FC_mul_mm_bc_out [[function_constant(FC_MUL_MM + 1)]];
81518151

8152-
#define BLOCK_SIZE_M 64 // 8 simdgroup matrices from matrix A
8153-
#define BLOCK_SIZE_N 32 // 4 simdgroup matrices from matrix B
8154-
#define BLOCK_SIZE_K 32
8155-
#define THREAD_MAT_M 4 // each thread take 4 simdgroup matrices from matrix A
8156-
#define THREAD_MAT_N 2 // each thread take 2 simdgroup matrices from matrix B
8157-
#define THREAD_PER_BLOCK 128
8158-
#define THREAD_PER_ROW 2 // 2 thread for each row in matrix A to load numbers
8159-
#define THREAD_PER_COL 4 // 4 thread for each row in matrix B to load numbers
8160-
#define SG_MAT_SIZE 64 // simdgroup matrix is of shape 8x8
8161-
#define SG_MAT_ROW 8
8162-
81638152
// each block_q contains 16*nl weights
81648153
template<typename S0, typename S0_4x4, typename S0_8x8, typename S1, typename S1_2x4, typename S1_8x8, typename block_q, short nl, void (*dequantize_func)(device const block_q *, short, thread S0_4x4 &), typename T0, typename T0_4x4, typename T1, typename T1_2x4>
81658154
kernel void kernel_mul_mm(

0 commit comments

Comments
 (0)