I have a first kernel that use and modify the values in a cl_mem and I would like to use this 'modified' buffer in another kernel.
1 - Must I resend the cl_mem ?
2 - If yes, how ?
In fact, for now I have try to only reference the same buffer but It failed !
you should be able to use that buffer directly as GPUs global memory is persistent in nature.
What is the size of buffer you are using.you should be able to find many sample using buffers this way.