title: Is there a limit to OpenCL local memory?
body: <p>Today I added four more <code>__local</code> variables to my kernel to dump intermediate results in. But just adding the four more variables to the kernel's signature and adding the corresponding Kernel arguments renders all output of the kernel to "0"s. None of the cl functions returns an error code. </p>
  
  <p>I further tried only to add one of the two smaller variables. If I add only one of them, it works, but if I add both of them, it breaks down.</p>
  
  <p>So could this behavior of OpenCL mean, that I allocated to much <code>__local</code> memory? How do I find out, how much <code>__local</code> memory is usable by me?</p>