title: PyCUDA Passing variable by value to kernel
body: <p>Should be simple enough; I literally want to send an int to the a SourceModule kernel declaration, where the C function</p>
  
  <pre><code>__global__......(int value,.....)
  </code></pre>
  
  <p>with the value being declared and called...</p>
  
  <pre><code>value = 256
  ...
  ...
  func(value,...)
  </code></pre>
  
  <p>But I'm getting a variety of errors from pycuda that I'm using the wrong type. </p>