I have this buffer
cl_mem buffer_salida_sumsi = clCreateBuffer(contextCPU, CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR,length * sizeof(float), salida_sumsi, NULL );
this is the argument of kernel
clSetKernelArg(kernel_rama_inferior, 0, sizeof(int), &M);
...
clSetKernelArg(kernel_rama_inferior, 25, sizeof(float), &buffer_salida_sumli);
And this is queue
clEnqueueTask(queueCPU,kernel_rama_inferior,0,NULL ,NULL);
.
please, can somebody tell me how make this with subbuffer???
Thanks...!!!