Skip to content

Commit 982c82f

Browse files
committed
metal : fix comments [no ci]
1 parent 24a9ea8 commit 982c82f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ggml/src/ggml-metal/ggml-metal-impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// kernel parameters for mat-vec threadgroups
55
//
6-
// N_R0: number of src0 rows to process per threadgroup
6+
// N_R0: number of src0 rows to process per simdgroup
77
// N_SG: number of simdgroups per threadgroup
88
//
99
// TODO: for optimal performance, become function of the device and work size

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2883,7 +2883,7 @@ static void ggml_metal_encode_node(
28832883
id<MTLComputePipelineState> pipeline = nil;
28842884

28852885
int nsg = 0; // number of simdgroups
2886-
int nr0 = 0; // number of src0 rows per threadgroup
2886+
int nr0 = 0; // number of src0 rows per simdgroup
28872887
int nr1 = 1; // number of src1 rows per threadgroup
28882888

28892889
size_t smem = 0; // shared memory

0 commit comments

Comments
 (0)