title: I want to prefetch in cuda But Error occur
body: <p>I am a new comer to cuda. And I want to add prefetch to cuda.</p>
  <p>I add this to code.</p>
  <pre><code>_device_ void a(...)..{
     ....
     double value;
     ...
     asm(&quot;prefetch.global.L2 [&amp;value];&quot;);
  ...}
  </code></pre>
  <p>but, I get this error.</p>
  <pre><code>ptxas /tmp/tmpxft_00000259_00000000-6_Simulation.ptx, line 279; fatal   : Parsing error near '&amp;': syntax error
  ptxas &lt;macro util&gt;, line 12; error   : Illegal modifier '.L2' for instruction 'mov'
  ptxas &lt;macro util&gt;, line 12; error   : Illegal modifier '.L2' for instruction 'mov'
  ptxas fatal   : Ptx assembly aborted due to errors
  </code></pre>
  <p>Can anybody help me T^T</p>