Skip to content

Commit 7984d57

Browse files
committed
metal : remove unused constants
1 parent 2b6e352 commit 7984d57

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
@@ -8127,17 +8127,6 @@ kernel void kernel_set_rows_f(
81278127
constant bool FC_mul_mm_bc_inp [[function_constant(FC_MUL_MM + 0)]];
81288128
constant bool FC_mul_mm_bc_out [[function_constant(FC_MUL_MM + 1)]];
81298129

8130-
#define BLOCK_SIZE_M 64 // 8 simdgroup matrices from matrix A
8131-
#define BLOCK_SIZE_N 32 // 4 simdgroup matrices from matrix B
8132-
#define BLOCK_SIZE_K 32
8133-
#define THREAD_MAT_M 4 // each thread take 4 simdgroup matrices from matrix A
8134-
#define THREAD_MAT_N 2 // each thread take 2 simdgroup matrices from matrix B
8135-
#define THREAD_PER_BLOCK 128
8136-
#define THREAD_PER_ROW 2 // 2 thread for each row in matrix A to load numbers
8137-
#define THREAD_PER_COL 4 // 4 thread for each row in matrix B to load numbers
8138-
#define SG_MAT_SIZE 64 // simdgroup matrix is of shape 8x8
8139-
#define SG_MAT_ROW 8
8140-
81418130
// each block_q contains 16*nl weights
81428131
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>
81438132
kernel void kernel_mul_mm(

0 commit comments

Comments
 (0)