title: Can't Build a simple Cuda Program using Xcode !
body: <p>I'm using Xcode 3.2 on Mac OS 10.6 to build a very simple HelloWorld program for CUDA 
  but it fails to build .. any ideas !!!</p>
  
  <p>this is the code :</p>
  
  <pre><code>    #include &lt;iostream&gt;
  #include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;assert.h&gt;
  #include &lt;CUDA/CUDA.h&gt;
  
  __device__ char napis_device[14];
  
  __global__ void helloWorldOnDevice(void){
   napis_device[0]='H';
   napis_device[1]='e';
   napis_device[2]='l';
   napis_device[3]='l';
   napis_device[4]='o';
   napis_device[5]=' ';
   napis_device[6]='W';
   napis_device[7]='o';
   napis_device[8]='r';
   napis_device[9]='l';
   napis_device[10]='d';
   napis_device[11]='\n';
  
  }
  
  
  
  int main (int argc, char * const argv[]) {
      helloWorldOnDevice&lt;&lt;&lt;1,1&gt;&gt;&gt; ();
   cudaThreadSynchronize();
   char napis_host[14];
   const char *symbol="napis device";
   cudaMemcpyFromSymbol (napis_host, symbol, sizeof(char)*13, 0, cudaMemcpyDeviceToHost);
  
       return 0;
  }
  </code></pre>
  
  <p>The error appears at this line 
          helloWorldOnDevice&lt;&lt;&lt;1,1>>> ();</p>
  
  <p>Expected primary-expression before '&lt;' token !!!!!!</p>