remove unused argument

This commit is contained in:
shaoqi 2026-01-21 11:08:34 -08:00
parent afaf17d767
commit c4b57de54c
2 changed files with 1 additions and 3 deletions

View File

@ -10686,7 +10686,6 @@ static void ggml_cl_cumsum(ggml_backend_t backend, const ggml_tensor * src0, con
CL_CHECK(clSetKernelArg(kernel, 8, sizeof(int), &axis));
CL_CHECK(clSetKernelArg(kernel, 9, sizeof(int), &exclusive));
CL_CHECK(clSetKernelArg(kernel, 10, sizeof(int), &reverse));
CL_CHECK(clSetKernelArg(kernel, 11, sizeof(int), &lines));
size_t global_work_size[1] = { (size_t)lines };
size_t local_work_val = 256;

View File

@ -14,8 +14,7 @@ kernel void kernel_cumsum_f32(
int ne3,
int axis,
int exclusive,
int reverse,
int lines
int reverse
) {
src0 = (global float*)((global char*)src0 + offset0);
dst = (global float*)((global char*)dst + offsetd);