The CUDA Runtime API exposes the functions
cudaRuntimeGetVersion()
andcudaDriverGetVersion()
(see detailed description here). 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.
modinfo nvidia | grep "^version:" | sed 's/^version: *//;'
which on my system is 367.57
.
Now, the first call gives me 8000
- fine, just a weird way to say 8.0 I guess; but the second API call also gives me 8000
. So what do both of these mean?
The Runtime API documentation I linked to doesn't seem to explain this.