title: How to reference a variable in opencl?
body: <p>I am having trouble in referencing a variable in opencl, because there are no clear examples which indicate if this can be done.</p>
  
  <p>I have a variable, "double foo" and I have a pointer "double* fooptr". I want the pointer to hold foo's address. Is that possible in OpenCL ?</p>
  
  <pre><code>double foo=//some value
  double* fooptr;
  fooptr=&amp;foo;
  </code></pre>
  
  <p>Can I do this in OpenCL ?</p>