is local memory not accessible within two kernels in the same file ?
I have following problem:
I have one .cl file with two kernels in it. One of them has a __local parameter in its parameter list (this is my first kernel function). The second one does not have any __local parameter. In this case everything works fine.
Now I decided two work with local memory also in the second kernel function. I didnt change the first kernel. I just put a __local parameter in the parameter list of second kernel and I updated the parameter list in my cpp source file before calling the kernels (I also updated the indexes of parameters before enqeue). But if I do so, it doesnt work and I get errorcode -47 for the first kernel function , which I never changed. Why ?