title: Cuda (warpSize is negative)
body: <p>I have Nvidia geforce 310M and when i write this code </p>
  
  <pre><code>int main()
  {
      int dev;
      cudaDeviceProp prop;
      cudaGetDevice(&amp;dev);
      cudaGetDeviceProperties(&amp;prop,dev);
      cout &lt;&lt; "Device name " &lt;&lt; prop.name &lt;&lt; endl;
      cout &lt;&lt; "warp size  = " &lt;&lt; prop.warpSize &lt;&lt; endl;
      cout &lt;&lt; "mutiprocesosrs = " &lt;&lt; prop.multiProcessorCount &lt;&lt; endl;
      return 0;
  }
  </code></pre>
  
  <p>it writes  : </p>
  
  <pre><code>Device name ♀
  warp size  = -2144521342
  mutiprocesosrs = 0
  Press any key to continue . . .
  </code></pre>
  
  <p>and every time i run this program it produces different warp size.
  how can i fix that ?</p>
  
  <p>(p.s. I'm using visual studio 2010)</p>