title: Using static variables in Open CL?
body: <p>Can we use <code>static</code> variables within the <code>openCL</code> kernel.
  I tried to use it but got the following exception</p>
  
  <pre><code> ptxas application ptx input, line 11; error   : Module-scoped variables in .local state space are not allowed with ABI ptxas fatal   : Ptx assembly aborted due to errors
  </code></pre>
  
  <h1>EDIT</h1>
  
  <p>I found a page that says its not supported. So how can we make a variable to retain its old value during multiple calls?</p>