title: Setting up Visual Studio Intellisense for CUDA kernel calls
body: <p>I've just started CUDA programming and it's going quite nicely, my GPUs are recognized and everything. I've partially set up Intellisense in Visual Studio using this extremely helpful guide here: 
  <a href="http://www.ademiller.com/blogs/tech/2010/10/visual-studio-2010-adding-intellisense-support-for-cuda-c/" rel="noreferrer"><code>http://www.ademiller.com/blogs/tech/2010/10/visual-studio-2010-adding-intellisense-support-for-cuda-c/</code></a></p>
  
  <p>and here:
  <a href="http://www.ademiller.com/blogs/tech/2011/05/visual-studio-2010-and-cuda-easier-with-rc2/" rel="noreferrer"><code>http://www.ademiller.com/blogs/tech/2011/05/visual-studio-2010-and-cuda-easier-with-rc2/</code></a></p>
  
  <p>However, Intellisense still doesn't pick up on kernel calls like this:</p>
  
  <pre><code>// KernelCall.cu
  #include &lt;iostream&gt;
  #include "cuda.h"
  #include "cuda_runtime.h"
  #include "device_launch_parameters.h"
  
  __global__ void kernel(void){}
  
  int main()
  {
      kernel&lt;&lt;&lt;1,1&gt;&gt;&gt;();
  
      system("pause");
      return 0;
  }
  </code></pre>
  
  <p>The line kernel&lt;&lt;&lt;1,1>>>() is underlined in red, specifically the one arrow to the left of the first one with the error reading "Error: expected and expression". However, if I hover over the function, its return type and parameters are displayed properly. It still compiles just fine, I'm just wondering how to get rid of this little annoyance.</p>