File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments