Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the relation between nvidia driver, cuda driver and cuda toolkit?

Tags:

cuda

nvidia

In the nvidia driver package, there is libcuda.so.

Is the cuda driver the same as nvidia driver?

And what's the relation between cuda toolkit and libcuda.so?

like image 257
bydsky Avatar asked Jul 25 '17 03:07

bydsky


1 Answers

From cuda document

http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#driver-api

http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#versioning-and-compatibility

It seems cuda driver is libcuda.so which is included in nvidia driver and used by cuda runtime api

Nvidia driver includes driver kernel module and user libraries.

Cuda toolkit is an SDK contains compiler, api, libs, docs, etc...

like image 122
bydsky Avatar answered Nov 07 '22 03:11

bydsky