File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -9083,9 +9083,6 @@ static void ggml_compute_forward_clamp_f32(
90839083 memcpy (& min , (float * ) dst -> op_params + 0 , sizeof (float ));
90849084 memcpy (& max , (float * ) dst -> op_params + 1 , sizeof (float ));
90859085
9086- const int ith = params -> ith ;
9087- const int nth = params -> nth ;
9088-
90899086 const int n = ggml_nrows (src0 );
90909087 const int nc = src0 -> ne [0 ];
90919088
@@ -9098,7 +9095,7 @@ static void ggml_compute_forward_clamp_f32(
90989095 GGML_ASSERT ( nb0 == sizeof (float ));
90999096 GGML_ASSERT (nb00 == sizeof (float ));
91009097
9101- for (int j = ith ; j < n ; j += nth ) {
9098+ for (int j = 0 ; j < n ; j ++ ) {
91029099 float * dst_ptr = (float * ) ((char * ) dst -> data + j * nb1 );
91039100 float * src0_ptr = (float * ) ((char * ) src0 -> data + j * nb01 );
91049101
You can’t perform that action at this time.
0 commit comments