title: CUDA: argument of type "float" is incompatible with parameter of type "void *"
body: <p>when I defined two float arrays like this:</p>
  
  <pre><code>float* d_A, d_B;
  cudaMemcpy(d_B,h_B,size,cudaMemcpyHostToDevice);
  </code></pre>
  
  <p>I receive an error concerning array <strong>d_B</strong></p>
  
  <blockquote>
    <p>argument of type "float" is incompatible with parameter of type "void
    *"</p>
  </blockquote>
  
  <p>if I defined the arrays like this:</p>
  
  <pre><code>float* d_A;
  float* d_B;
  </code></pre>
  
  <p>it works fine and the error disappears.
  what can be wrong here ?
  I'm using NSight Visual Studio edition version 3.2</p>