CUDA Runtime API provides functions
cudaRuntimeGetVersion() andcudaDriverGetVersion()
(see the detailed description here ). I expected the first one to give me “8.0” (for CUDA 8.0), and the second one to get the same line as when studying the kernel module of the nVIDIA GPU driver, for example
modinfo nvidia | grep "^version:" | sed 's/^version: *//;'
which in my system is 367.57 .
Now, the first call gives me 8000 - well, just a weird way of saying 8.0, I think; but the second API call also gives me 8000 . So what do they both mean?
The runtime API documentation I referenced does not seem to explain this.
source share