title: Is there way to specify number of processors for CUDA?
body: <p>I have been working on CUDA for a while. I am wondering whether there is a way to specify number of processor within running command. I have checked <code>nvcc -help</code>, but I couldn't come up with a proper result.</p>
  
  <p>For example, for MPI we can specify this via following code</p>
  
  <pre><code>mpirun -np &lt;number of processes&gt; &lt;program name and arguments&gt;
  </code></pre>