1 Kernel several functions

Discussion created by opencl_JEDI on Jun 16, 2010
Latest reply on Jun 16, 2010 by MicahVillmow


this is my problem, I have 3 functions in my .cl file and I called them in a kernel. it'a an image processing functions, so I do 3 transformations on the image, now I'm working in the global memory, but I want to work in the local.

what I want to do is to transfer work-groups to local memory, do the 3 operations then write the result back to global, but since each transformation is a separate function, is this possible?

I can detail more if needed.