title: CUDA runtime version vs CUDA driver version - what's the difference?
body: <p>The CUDA Runtime API exposes the functions</p>
  
  <ul>
  <li><code>cudaRuntimeGetVersion()</code> and</li>
  <li><code>cudaDriverGetVersion()</code> </li>
  </ul>
  
  <p>(see detailed description <a href="http://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART____VERSION.html" rel="noreferrer">here</a>). I was sort of expecting the first one to give me "8.0" (for CUDA 8.0) and the second one to give me the same string as what I'd get from examining nVIDIA's GPU driver kernel module, e.g.</p>
  
  <pre><code>modinfo nvidia | grep "^version:" | sed 's/^version: *//;'
  </code></pre>
  
  <p>which on my system is <code>367.57</code>. </p>
  
  <p>Now, the first call gives me <code>8000</code> - fine, just a weird way to say 8.0 I guess; but the second API call also gives me <code>8000</code>. So what do both of these mean?</p>
  
  <p>The Runtime API documentation I linked to doesn't seem to explain this.</p>